added agent to server metrics (#1321)

This commit is contained in:
Danny Coates 2019-05-03 09:25:12 -07:00 committed by Donovan Preston
parent 19ac0480ee
commit f603f40f43
8 changed files with 15 additions and 5 deletions

View file

@ -13,8 +13,8 @@ if (config.sentry_dsn) {
const app = express();
expressWs(app, null, { perMessageDeflate: false });
app.ws('/api/ws', require('../routes/ws'));
routes(app);
app.ws('/api/ws', require('../routes/ws'));
app.use(
express.static(path.resolve(__dirname, '../../dist/'), {