chore(analytics): remove Plausible integration
Signed-off-by: RainbowBird <git@luoling.moe> Commit-Message-Assisted-by: Claude (via Claude Code)
This commit is contained in:
@@ -40,14 +40,6 @@
|
||||
document.documentElement.classList.toggle('dark', true)
|
||||
})()
|
||||
</script>
|
||||
<!-- Privacy-friendly analytics by Plausible -->
|
||||
<script async src="https://moeru-ai-airi-helper.kwaa.workers.dev/remote-assets/page-external-data/js/script.js"></script>
|
||||
<script>
|
||||
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
||||
plausible.init({
|
||||
endpoint: "https://moeru-ai-airi-helper.kwaa.workers.dev/api/v1/page-external-data/submit"
|
||||
})
|
||||
</script>
|
||||
<script src="/assets/js/CubismSdkForWeb-5-r.3/Core/live2dcubismcore.min.js"></script>
|
||||
</head>
|
||||
<body class="font-sans">
|
||||
|
||||
@@ -7,23 +7,6 @@ publish = "/apps/stage-web/dist"
|
||||
NODE_VERSION = "24"
|
||||
NODE_OPTIONS = "--max-old-space-size=4096"
|
||||
|
||||
# Plausible.io analytics
|
||||
#
|
||||
# Proxying Plausible through Netlify | Plausible docs
|
||||
# https://plausible.io/docs/proxy/guides/netlify
|
||||
|
||||
[[redirects]]
|
||||
from = "/remote-assets/page-external-data/js/script.js"
|
||||
to = "https://plausible.io/js/script.js"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/api/v1/page-external-data/submit"
|
||||
to = "https://plausible.io/api/event"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/assets/*"
|
||||
to = "/assets/:splat"
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
# Plausible.io analytics
|
||||
#
|
||||
# Originally proxying Plausible through Netlify | Plausible docs
|
||||
# https://plausible.io/docs/proxy/guides/netlify
|
||||
#
|
||||
# /remote-assets/page-external-data/js/script.js https://plausible.io/js/script.js 200
|
||||
# /api/v1/page-external-data/submit https://plausible.io/api/event 200
|
||||
|
||||
# i18n
|
||||
/docs/ /docs/en/ 301
|
||||
|
||||
|
||||
Reference in New Issue
Block a user