Skip to content

Commit

Permalink
fix: revert rewrite rule
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Aug 1, 2024
1 parent e995f24 commit 648853c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ const nextConfig = {
source: '/api/:path*',
destination: `${process.env.API_URL}/:path*`,
},
{
source: '/event',
destination: `https://analytics.hikka.io/api/event`,
},
];
},
async redirects() {
Expand Down
2 changes: 1 addition & 1 deletion public/js/plausible.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var r = window.location,
o = window.document,
l = o.currentScript,
s = 'https://hikka.io/event';
s = 'https://api.hikka.io/event';

function t(t, e) {
try {
Expand Down

0 comments on commit 648853c

Please sign in to comment.