luci-base: make rpc webserver path configurable
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 16 Jan 2020 14:16:09 +0000 (15:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit14a81ccb63941efc0e563bfe629e94dc80af63c7
tree06840b94dda04706b881a437edbfac26828cd64c
parente28f94bf01544a6474abd88d900c4204a10521dc
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>
(backported from commit 529bde44081d0bc07a064e9dfb1f0b3f35e61061)
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/luasrc/view/header.htm
modules/luci-base/root/etc/config/luci