Skip to content

Commit

Permalink
docs: stats
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Jan 22, 2025
1 parent 54ecfc1 commit cad43b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/stage-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
document.documentElement.classList.toggle('dark', true)
})()
</script>
<script
defer
data-domain="airi.ayaka.io"
data-api="/api/v1/page-external-data/submit"
src="/assets/page-external-data/js/script.js"
></script>
<script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
</head>
<body class="font-sans">
Expand Down
7 changes: 7 additions & 0 deletions packages/stage-web/public/_headers
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Plausible.io analytics
#
# Proxying Plausible through Netlify | Plausible docs
# https://plausible.io/docs/proxy/guides/netlify
/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

/assets/*
cache-control: max-age=31536000
cache-control: immutable

0 comments on commit cad43b7

Please sign in to comment.