build(custom): 环境变量调整
This commit is contained in:
@@ -15,7 +15,7 @@ export const router = createRouter({
|
||||
export async function setupRouter(app) {
|
||||
await addDynamicRoutes()
|
||||
setupRouterGuard(router)
|
||||
if (import.meta.env.VITE_SENTRY) {
|
||||
if (import.meta.env.VITE_SENTRY === 'true') {
|
||||
Sentry.init({
|
||||
app,
|
||||
dsn: 'https://1c158d5f832eef396e69447959d902d2@w.huakk.top/12',
|
||||
|
||||
Reference in New Issue
Block a user