Skip to content

Commit

Permalink
fix: update web domain for plausible
Browse files Browse the repository at this point in the history
  • Loading branch information
Th1nkK1D committed Nov 10, 2023
1 parent 76f2599 commit cd8a8e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion constants/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const FIRESTORE_DOCUMENT_COLLECTION = 'documents';
export const FIRESTORE_USER_COLLECTION = 'users';
export const IGNORED_PERSONALID = '1111111111111';
export const WEB_URI = 'https://pension-4all.com';
export const WEB_DOMAIN = 'pension-4all.com';
4 changes: 2 additions & 2 deletions web/src/components/social-group.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { WEB_URI } from '@pension-act/constants';
const PROD_URL = encodeURI(WEB_URI);
import { WEB_DOMAIN } from '@pension-act/constants';
const PROD_URL = encodeURI(`https://${WEB_DOMAIN}`);
</script>

<div class="flex [&>*:not(:first-child)]:ml-[4px] justify-center">
Expand Down
4 changes: 2 additions & 2 deletions web/src/layouts/main.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import '../styles/fonts.css';
import '../styles/typography.css';
import '../styles/global.css';
import { WEB_URI } from '@pension-act/constants';
import { WEB_DOMAIN } from '@pension-act/constants';
---

<html lang="en">
Expand All @@ -26,7 +26,7 @@ import { WEB_URI } from '@pension-act/constants';
<script
type="text/partytown"
defer
data-domain={WEB_URI}
data-domain={WEB_DOMAIN}
src="https://analytics.punchup.world/js/plausible.js"></script>
</head>

Expand Down

0 comments on commit cd8a8e8

Please sign in to comment.