1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-18 22:15:32 -04:00

fix analytics

This commit is contained in:
2020-04-28 08:45:56 -04:00
parent b0893ff52f
commit 9a87b9fa8d
6 changed files with 26 additions and 85 deletions

View File

@@ -81,10 +81,25 @@
# Proxy data to Simple Analytics endpoint
[[redirects]]
from = "/s.gif*"
from = "/sa/send.gif*"
to = "https://queue.simpleanalyticscdn.com/simple.gif:splat"
status = 200
force = true
[[redirects]]
from = "/sa/noscript.gif*"
to = "https://queue.simpleanalyticscdn.com/noscript.gif:splat"
status = 200
force = true
[[redirects]]
from = "/sa/append"
to = "https://queue.simpleanalyticscdn.com/append"
status = 200
force = true
[[redirects]]
from = "/sa/post"
to = "https://api.simpleanalytics.io/post"
status = 200
force = true
# Support ancient RSS subscriptions and links from WordPress era:
[[redirects]]