diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-02 21:35:23 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-02 21:35:23 +0900 |
| commit | 41ed9a1a7263fbdfac46c6c49f19f8d8d82f55de (patch) | |
| tree | 7f0e8837b510d771f60ee0e7e928e60e1d73a22d /packages/client/src/init.ts | |
| parent | update deps (diff) | |
| download | misskey-41ed9a1a7263fbdfac46c6c49f19f8d8d82f55de.tar.gz misskey-41ed9a1a7263fbdfac46c6c49f19f8d8d82f55de.tar.bz2 misskey-41ed9a1a7263fbdfac46c6c49f19f8d8d82f55de.zip | |
tweak client
Diffstat (limited to 'packages/client/src/init.ts')
| -rw-r--r-- | packages/client/src/init.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 131ea0cf8b..2263b4ca3c 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -13,8 +13,6 @@ if (localStorage.getItem('accounts') != null) { } //#endregion -import * as Sentry from '@sentry/browser'; -import { Integrations } from '@sentry/tracing'; import { computed, createApp, watch, markRaw, version as vueVersion } from 'vue'; import * as compareVersions from 'compare-versions'; @@ -74,18 +72,6 @@ if (_DEV_) { }); } -if (defaultStore.state.reportError && !_DEV_) { - Sentry.init({ - dsn: 'https://fd273254a07a4b61857607a9ea05d629@o501808.ingest.sentry.io/5583438', - tracesSampleRate: 1.0, - }); - - Sentry.setTag('misskey_version', version); - Sentry.setTag('ui', ui); - Sentry.setTag('lang', lang); - Sentry.setTag('host', host); -} - // タッチデバイスでCSSの:hoverを機能させる document.addEventListener('touchend', () => {}, { passive: true }); |