mirror of
https://github.com/danbulant/Mangades
synced 2026-07-08 20:40:39 +00:00
fix dev detection
This commit is contained in:
parent
4d7d34a58a
commit
13168158bd
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
export var data;
|
export var data;
|
||||||
|
|
||||||
if (typeof window !== "undefined" && !dev && import.meta.env.VITE_SENTRY_DSN) {
|
if (typeof window !== "undefined" && import.meta.env.VITE_SENTRY_DSN) {
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: import.meta.env.VITE_SENTRY_DSN,
|
dsn: import.meta.env.VITE_SENTRY_DSN,
|
||||||
environment: import.meta.env.VITE_SENTRY_ENVIRONMENT,
|
environment: import.meta.env.VITE_SENTRY_ENVIRONMENT,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue