mirror of
https://github.com/danbulant/Mangades
synced 2026-07-07 20:10:36 +00:00
fix typo
This commit is contained in:
parent
cfa7e7c572
commit
672b4b59db
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { BrowserTracing } from "@sentry/tracing";
|
||||||
/** @type {import('./$types').PageLoad} */
|
/** @type {import('./$types').PageLoad} */
|
||||||
export function load({ url, event }) {
|
export function load({ url, event }) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if(import.meta.env.VITE_SENTRY_DSN && typeof event !== "undefined" && typeof window !== 'undefined')
|
if(import.meta.env.VITE_SENTRY_DSN && typeof event !== "undefined" && typeof window !== 'undefined') {
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
dsn: import.meta.env.VITE_SENTRY_DSN,
|
dsn: import.meta.env.VITE_SENTRY_DSN,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue