luci-base: ensure that ubus path uses trailing slash
Without the trailing slash, probing endpoint availability will fail.
Fixes: 529bde440
("luci-base: make rpc webserver path configurable")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
270c5f04e2
commit
38289bc975
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,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',
|
||||
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),
|
||||
|
|
|
@ -2,7 +2,7 @@ config core main
|
|||
option lang auto
|
||||
option mediaurlbase /luci-static/bootstrap
|
||||
option resourcebase /luci-static/resources
|
||||
option ubuspath /ubus
|
||||
option ubuspath /ubus/
|
||||
|
||||
config extern flash_keep
|
||||
option uci "/etc/config/"
|
||||
|
|
Loading…
Reference in a new issue