Skip to content

Commit

Permalink
chore: update umami
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindballa committed Feb 5, 2024
1 parent ba9505f commit 71e4549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,9 @@ module.exports = withContentlayer({
},
async rewrites() {
return [
{
source: '/js/script.js',
destination: 'https://plausible.io/js/plausible.js',
},
{
source: '/js/script-u.js',
destination: 'https://analytics.balla.dev/umami.js',
},
{
source: '/api/event/',
destination: 'https://plausible.io/api/event',
destination: 'https://analytics.balla.dev/script.js',
},
];
},
Expand Down
3 changes: 1 addition & 2 deletions pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ class MyDocument extends Document {
<script
async
defer
data-website-id="febff40b-15fc-42e3-aa02-184f82c9480d"
data-website-id="095774e4-c3ec-46a2-8e72-7ad0c3674ef1"
src="/js/script-u.js"
data-host-url="https://analytics.balla.dev"
></script>
</Head>
<body>
Expand Down

0 comments on commit 71e4549

Please sign in to comment.