mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:47:09 +00:00
Add websocket server to emit DB notifications
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
const api = require('./api');
|
||||
const ws = require('./ws');
|
||||
|
||||
|
||||
api.start(process.env.HTTP_PORT || 3000, process.env.HTTP_PATH);
|
||||
const server = api.start(process.env.HTTP_PORT || 3000, process.env.HTTP_PATH);
|
||||
ws.start(server);
|
||||
|
||||
Reference in New Issue
Block a user