Browse Source

Signed-off-by: caner <5658514@qq.com>

caner 3 years ago
parent
commit
740e6bb9ad
2 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js
  2. 0 0
      lib/contrl.js

+ 1 - 1
index.js

@@ -59,7 +59,7 @@ class ContrlServer {
   }
   // 控制服务
   initContrl() {
-    this.Contrl = fork('./contrl.js')
+    this.Contrl = fork('./lib/contrl.js')
     this.Contrl.on('message', (msg) => {
       if (this.socket && this.socket.connected) {
         console.log('用户连接可发送', msg);

+ 0 - 0
contrl.js → lib/contrl.js