mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
fixed leaky app.state on the server-side. fixes #928
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'fast-text-encoding'; // MS Edge support
|
||||
import 'fluent-intl-polyfill';
|
||||
import app from './routes';
|
||||
import routes from './routes';
|
||||
import capabilities from './capabilities';
|
||||
import locale from '../common/locales';
|
||||
import fileManager from './fileManager';
|
||||
@@ -14,6 +14,7 @@ import './main.css';
|
||||
import User from './user';
|
||||
|
||||
(async function start() {
|
||||
const app = routes();
|
||||
if (navigator.doNotTrack !== '1' && window.RAVEN_CONFIG) {
|
||||
Raven.config(window.SENTRY_ID, window.RAVEN_CONFIG).install();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user