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

@@ -7,8 +7,8 @@ const expressWs = require('express-ws');
module.exports = function(app, devServer) {
assets.setMiddleware(devServer.middleware);
expressWs(app, null, { perMessageDeflate: false });
app.ws('/api/ws', require('../routes/ws'));
routes(app);
app.ws('/api/ws', require('../routes/ws'));
tests(app);
// webpack-dev-server routes haven't been added yet
// so wait for next tick to add 404 handler