mirror of
https://github.com/mkschreder/juci.git
synced 2025-01-09 04:19:29 +08:00
changed the default ip on juci-local-server to be http://192.168.1.1/ubus
This commit is contained in:
parent
e406d2a79d
commit
1fd55d8ec7
@ -7,7 +7,7 @@ var fs = require("fs");
|
||||
var request = require("request");
|
||||
var http = require("http");
|
||||
var bodyParser = require('body-parser')
|
||||
var config = { port: 3000, ubus_uri: "192.168.1.1" };
|
||||
var config = { port: 3000, ubus_uri: "http://192.168.1.1/ubus" };
|
||||
|
||||
//check if file exists and is a file
|
||||
if (fs.existsSync("juci-local-server.config")){
|
||||
|
Loading…
Reference in New Issue
Block a user