create the wsServer based on webserver, no need for a seperate wsPort

This commit is contained in:
砚然
2018-01-28 13:51:36 +08:00
parent c2760e0bb0
commit 5412a70627
15 changed files with 270 additions and 348 deletions

View File

@@ -78,8 +78,7 @@ const options = {
rule: require('myRuleModule'),
webInterface: {
enable: true,
webPort: 8002,
wsPort: 8003,
webPort: 8002
},
throttle: 10000,
forceProxyHttps: false,