mirror of
https://github.com/danbulant/Mangades
synced 2026-05-19 04:08:46 +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} */
|
||||
export function load({ url, event }) {
|
||||
// @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({
|
||||
// @ts-ignore
|
||||
dsn: import.meta.env.VITE_SENTRY_DSN,
|
||||
|
|
|
|||
Loading…
Reference in a new issue