mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
added agent to server metrics (#1321)
This commit is contained in:
committed by
Donovan Preston
parent
19ac0480ee
commit
f603f40f43
@@ -12,6 +12,7 @@ const ID_REGEX = '([0-9a-fA-F]{10, 16})';
|
||||
module.exports = function(app, devServer) {
|
||||
const wsapp = express();
|
||||
expressWs(wsapp, null, { perMessageDeflate: false });
|
||||
routes(wsapp);
|
||||
wsapp.ws('/api/ws', require('../routes/ws'));
|
||||
wsapp.listen(8081, config.listen_address);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user