Skip to content

Commit 1392e97

Browse files
committed
Plausible → GoatCounter
1 parent 4e6fd03 commit 1392e97

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

netlify.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
status = 200
1010

1111
[[redirects]]
12-
from = "/hello.js"
13-
to = "https://plausible.io/js/plausible.js"
12+
from = "/count.js"
13+
to = "https://gc.zgo.at/count.js"
1414
status = 200
15-
16-
[[redirects]]
17-
from = "/api/event"
18-
to = "https://plausible.io/api/event"
19-
status = 202

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Input Inspector</title>
88
<% htmlWebpackPlugin.files.css.forEach(href => { %><link href="<%= href %>" rel="stylesheet"><% }) %>
99
<% htmlWebpackPlugin.files.js.forEach(src => { %><script src="<%= src %>" defer></script><% }) %>
10-
<% if (env == "production") { %><script defer data-domain="input-inspector.javan.us" src="/hello.js"></script><% } %>
10+
<% if (env == "production") { %><script async data-goatcounter="https://input-inspector.goatcounter.com/count" src="/count.js"></script><% } %>
1111
</head>
1212
<body>
1313
<main

0 commit comments

Comments
 (0)