mirror of
https://github.com/mkschreder/juci.git
synced 2025-01-07 03:16:39 +08:00
local server: use /websocket/ path always
This commit is contained in:
parent
845105ae6f
commit
23be3b622a
@ -27,7 +27,7 @@ if (fs.existsSync("juci-local-server.config")){
|
||||
for(var i = 0; i < process.argv.length; i++){
|
||||
switch(process.argv[i]){
|
||||
//case "--host": config.ubus_uri = "ws://"+process.argv[++i]+"/websocket/"; break;
|
||||
case "--host": config.ubus_uri = "ws://"+process.argv[++i]+":5303"; break;
|
||||
case "--host": config.ubus_uri = "ws://"+process.argv[++i]+"/websocket/"; break;
|
||||
case "--port": config.port = parseInt(process.argv[++i]); break;
|
||||
case "--url": config.ubus_uri = process.argv[++i]; break;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user