diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-03-25 08:02:06 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-25 08:02:06 +0900 |
| commit | 5513337198efdc3fed95a9a20d2da4d0d1af61c1 (patch) | |
| tree | 9baa59150b5717d5aa46f8c4bcda5e3c2168dec5 /packages/frontend/src/router.ts | |
| parent | Bump version to 2025.3.2-beta.10 (diff) | |
| download | misskey-5513337198efdc3fed95a9a20d2da4d0d1af61c1.tar.gz misskey-5513337198efdc3fed95a9a20d2da4d0d1af61c1.tar.bz2 misskey-5513337198efdc3fed95a9a20d2da4d0d1af61c1.zip | |
fix(frontend): 本番環境で不必要なconsole.logを出さないように (#15702)
Diffstat (limited to 'packages/frontend/src/router.ts')
| -rw-r--r-- | packages/frontend/src/router.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index 3b79569995..d702da80fa 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -32,7 +32,7 @@ mainRouter.addListener('replace', ctx => { }); mainRouter.addListener('change', ctx => { - console.log('mainRouter: change', ctx.fullPath); + if (_DEV_) console.log('mainRouter: change', ctx.fullPath); analytics.page({ path: ctx.fullPath, title: ctx.fullPath, |