fix: hardcode env variables for now

This commit is contained in:
Torsten Dittmann committed 2022-11-14 22:52:05 +01:00
1 parent 466905986b
commit da0b0d2a8b
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ const analytics = Analytics({
app: 'appwrite',
plugins: [
googleAnalytics({
measurementIds: [import.meta.env.VITE_GOOGLE_ANALYTICS?.toString()]
measurementIds: ['G-R4YJ9JN8L4']
})
]
});
+1 -1
View File
@@ -39,7 +39,7 @@
) {
showDropdown = false;
}
};
}
$: if (showDropdown) {
trackEvent('click_menu_dropdown');
+1 -2
View File
@@ -17,7 +17,6 @@
if (browser) {
window.VERCEL_ANALYTICS_ID = import.meta.env.VERCEL_ANALYTICS_ID?.toString() ?? false;
window.SENTRY_DSN = import.meta.env.VITE_SENTRY_DSN?.toString() ?? false;
}
onMount(async () => {
@@ -38,7 +37,7 @@
*/
if (!dev && window.SENTRY_DSN) {
Sentry.init({
dsn: window.SENTRY_DSN,
dsn: 'https://c7ce178bdedd486480317b72f282fd39@o1063647.ingest.sentry.io/4504158071422976',
integrations: [new BrowserTracing()],
tracesSampleRate: 1.0
});