changed the default ip on juci-local-server to be http://192.168.1.1/ubus

This commit is contained in:
Reidar Cederqvist 2016-01-22 11:24:03 +01:00
parent e406d2a79d
commit 1fd55d8ec7

View File

@ -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")){