mirror of
https://github.com/tl-open-source/tl-rtc-file.git
synced 2025-10-23 23:23:06 +08:00
Update serversocket.js
This commit is contained in:
@@ -7,6 +7,7 @@ const conf = require("./conf/cfg"); //conf
|
||||
const utils = require("./utils/request"); //utils
|
||||
const socket = require("./src/socket/index") //socket handler
|
||||
|
||||
let tables = {};
|
||||
if(conf.db.open){
|
||||
// db init
|
||||
let {tables,sql,Sql} = db.excute(conf);
|
||||
@@ -43,4 +44,4 @@ socket.excute(tables,conf);
|
||||
console.log("socket init...")
|
||||
|
||||
|
||||
console.log("socket listen on ",conf.ws.ssl_port," successful");
|
||||
console.log("socket listen on ",conf.ws.ssl_port," successful");
|
||||
|
Reference in New Issue
Block a user