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

@@ -11,7 +11,6 @@ const DEFAULT_OPTIONS = {
webInterface: {
enable: true,
webPort: 8002, // optional, port for web interface
wsPort: 8003, // optional, internal port for web socket
},
wsIntercept: true,
throttle: 10000, // optional, speed limit in kb/s