We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554bdd1 commit f50c200Copy full SHA for f50c200
frontend/app/root.tsx
@@ -11,7 +11,7 @@ import {
11
type MetaFunction,
12
} from 'react-router'
13
import { Header, Footer } from '@/components'
14
-import { UMAMI_HOST, UMAMI_WEBSITE_ID } from '@shared/defines'
+import { APP_URL, UMAMI_HOST, UMAMI_WEBSITE_ID } from '@shared/defines'
15
import faviconSvg from '~/assets/images/favicon.svg?url'
16
import { TelemetryProvider } from '~/lib/analytics'
17
import { UIProvider } from '~/stores/uiStore'
@@ -32,6 +32,10 @@ export default function App() {
32
defer
33
src={`${UMAMI_HOST}/script.js`}
34
data-website-id={UMAMI_WEBSITE_ID}
35
+ data-domains={[
36
+ new URL(APP_URL.production).hostname,
37
+ new URL(APP_URL.development).hostname,
38
+ ].join(',')}
39
/>
40
)}
41
</head>
0 commit comments