mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
added agent to server metrics (#1321)
This commit is contained in:
committed by
Donovan Preston
parent
19ac0480ee
commit
f603f40f43
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user