refactor: remove unnecessary analytics proxy

This commit is contained in:
Kim, Jimin 2024-10-11 13:14:06 +09:00
parent 8be3ae370f
commit 1281a1fdc6
Signed by: pomp
GPG key ID: 2B516173EDD492EB
4 changed files with 2 additions and 21 deletions

View file

@ -1,14 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// https://umami.is/docs/guides/bypass-ad-blockers#proxying
async rewrites() {
return [
{
source: "/stats/:match*",
destination: "https://umami.developomp.com/:match*",
},
]
},
experimental: {
externalDir: true,
},

View file

@ -63,9 +63,8 @@ export default function RootLayout({
/>
<meta name="theme-color" content="#000000" />
<script
async
defer
src="/stats/script.js"
src="https://umami.developomp.com/script.js"
data-website-id="361a9f07-a09b-49a0-b7e4-f1fc7caff9e2"
></script>
</head>