mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: hardcode env variables for now
This commit is contained in:
1 parent
466905986b
commit
da0b0d2a8b
3 files changed
+3
-4
No files matched your search
@@ -7,7 +7,7 @@ const analytics = Analytics({
|
||||
app: 'appwrite',
|
||||
plugins: [
|
||||
googleAnalytics({
|
||||
measurementIds: [import.meta.env.VITE_GOOGLE_ANALYTICS?.toString()]
|
||||
measurementIds: ['G-R4YJ9JN8L4']
|
||||
})
|
||||
]
|
||||
});
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
) {
|
||||
showDropdown = false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
$: if (showDropdown) {
|
||||
trackEvent('click_menu_dropdown');
|
||||
|
||||
@@ -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
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user