fix: ok another try

This commit is contained in:
Valentin Kaelin 2023-10-10 22:16:33 +02:00
parent 1d4adac88f
commit 5bbab7cac1
No known key found for this signature in database
GPG key ID: B389A4E3DFF8E414
2 changed files with 2 additions and 12 deletions

View file

@ -1 +1,3 @@
/js/script.js https://plausible.io/js/script.js 200
/api/event https://plausible.io/api/event 200
/* /index.html 200

View file

@ -9,15 +9,3 @@
base = "client"
command = "npm run build"
publish = "client/dist"
[[redirects]]
from = "/js/script.js"
to = "https://plausible.io/js/script.js"
status = 200
force = true
[[redirects]]
from = "/api/event"
to = "https://plausible.io/api/event"
status = 200
force = true