Remove metrics #4

This commit is contained in:
Romain Hv 2021-03-15 19:56:51 +01:00
parent d03e83dd66
commit a0bc20aeb6
18 changed files with 8 additions and 633 deletions

View file

@ -4,7 +4,6 @@ import html from 'choo/html';
import * as Sentry from '@sentry/browser';
import { setApiUrlPrefix, getConstants } from '../app/api';
import metrics from '../app/metrics';
//import assets from '../common/assets';
import Archive from '../app/archive';
import Header from '../app/ui/header';
@ -83,7 +82,6 @@ function body(main) {
state.user = new User(storage, LIMITS);
state.sentry = Sentry;
});
app.use(metrics);
app.route('/', body(home));
app.route('/upload', upload);
app.route('/share/:id', share);