summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/header.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-01-16 15:33:25 +0100
committerGitHub <noreply@github.com>2020-01-16 15:33:25 +0100
commitf545b29aaf6c63a74321a1e5e4655e71330b33b3 (patch)
tree3a30dd3e7486ae34387a55aa8d6ceffcc656ea2c /modules/luci-base/luasrc/view/header.htm
parent267085cf2d498c34b92a6e8edae627b1705f88a2 (diff)
parent529bde44081d0bc07a064e9dfb1f0b3f35e61061 (diff)
Merge pull request #3517 from Ansuel/ubus_short
luci-base: make rpc webserver path configurable
Diffstat (limited to 'modules/luci-base/luasrc/view/header.htm')
-rw-r--r--modules/luci-base/luasrc/view/header.htm1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/view/header.htm b/modules/luci-base/luasrc/view/header.htm
index 9cdedde5c2..6f7f0e48e7 100644
--- a/modules/luci-base/luasrc/view/header.htm
+++ b/modules/luci-base/luasrc/view/header.htm
@@ -24,6 +24,7 @@
requestpath = luci.dispatcher.context.requestpath,
dispatchpath = luci.dispatcher.context.path,
pollinterval = luci.config.main.pollinterval or 5,
+ ubuspath = luci.config.main.ubuspath or '/ubus',
sessionid = luci.dispatcher.context.authsession,
apply_rollback = math.max(applyconf and applyconf.rollback or 30, 30),
apply_holdoff = math.max(applyconf and applyconf.holdoff or 4, 1),