luci-base: make rpc webserver path configurable 3517/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 16 Jan 2020 14:16:09 +0000 (15:16 +0100)
committerAnsuel Smith <ansuelsmth@gmail.com>
Thu, 16 Jan 2020 14:16:09 +0000 (15:16 +0100)
commit529bde44081d0bc07a064e9dfb1f0b3f35e61061
treeff6ca39ef39f33a3d022db1c6f42a31a19465711
parent88b9d58a44ea52e812cf0c0db5b5b6b87783bd7e
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>
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/luasrc/view/header.htm
modules/luci-base/root/etc/config/luci