summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/etc
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2020-01-16 15:16:09 +0100
committerAnsuel Smith <ansuelsmth@gmail.com>2020-01-16 15:16:09 +0100
commit529bde44081d0bc07a064e9dfb1f0b3f35e61061 (patch)
treeff6ca39ef39f33a3d022db1c6f42a31a19465711 /modules/luci-base/root/etc
parent88b9d58a44ea52e812cf0c0db5b5b6b87783bd7e (diff)
luci-base: make rpc webserver path configurable
Currently the ubus path that provide the webserver is hardcoded to be /ubus. Change this to make it configurable from the luci config file. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-base/root/etc')
-rw-r--r--modules/luci-base/root/etc/config/luci1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/root/etc/config/luci b/modules/luci-base/root/etc/config/luci
index 82c2230e55..91a0193873 100644
--- a/modules/luci-base/root/etc/config/luci
+++ b/modules/luci-base/root/etc/config/luci
@@ -2,6 +2,7 @@ config core main
option lang auto
option mediaurlbase /luci-static/bootstrap
option resourcebase /luci-static/resources
+ option ubuspath /ubus
config extern flash_keep
option uci "/etc/config/"