mirror of
https://github.com/danbulant/Mangades
synced 2026-06-21 15:41:52 +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;
|
||||
|
||||
if (typeof window !== "undefined" && !dev && import.meta.env.VITE_SENTRY_DSN) {
|
||||
if (typeof window !== "undefined" && import.meta.env.VITE_SENTRY_DSN) {
|
||||
Sentry.init({
|
||||
dsn: import.meta.env.VITE_SENTRY_DSN,
|
||||
environment: import.meta.env.VITE_SENTRY_ENVIRONMENT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue