diff --git a/src/workbench/node/server/main.js b/src/workbench/node/server/main.js index 456e12956..e31a3cf97 100644 --- a/src/workbench/node/server/main.js +++ b/src/workbench/node/server/main.js @@ -8,6 +8,7 @@ const _LibsCommon = require('../request/libs/common.js'); const koaBody = require('koa-body'); const Koa = require('koa'); const cors = require('@koa/cors'); +const socketio = require('./socketio'); const app = new Koa(); const port = 4201; @@ -44,4 +45,5 @@ app.use(async (ctx, next) => { next(); }); +socketio(); app.listen(port);