Skip to content

Commit

Permalink
feat(vercel): rewrites
Browse files Browse the repository at this point in the history
Signed-off-by: Irvan Malik <irvanmalik48@gmail.com>

Co-authored-by: Irvan Malik <irvanmalik48@gmail.com>
Co-authored-by: KenHV <yo@kenharris.xyz>
  • Loading branch information
irvanmalik48 and KenHV committed Jul 13, 2023
1 parent d128e82 commit 50a0627
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export default component$(() => {
<QwikPartytown forward={["dataLayer.push"]} />
<script
type="text/partytown"
data-goatcounter="https://realm-analytics.goatcounter.com/count"
data-goatcounter="https://realmof.tech/analytics/referrer"
async
src="//gc.zgo.at/count.js"
src="//realmof.tech/analytics/count.js"
/>
<RouterHead />
</head>
Expand Down
10 changes: 10 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,15 @@
}
]
}
],
"rewrites": [
{
"source": "/analytics/count.js",
"destination": "https://gc.zgo.at/count.js"
},
{
"source": "/analytics/referrer",
"destination": "https://realm-analytics.goatcounter.com/count"
}
]
}

0 comments on commit 50a0627

Please sign in to comment.