luci-base: ensure that ubus path uses trailing slash
authorJo-Philipp Wich <jo@mein.io>
Fri, 13 Mar 2020 22:57:19 +0000 (23:57 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commitbef91474bd2d4023b367c6e92f64103a9bda8ce4
treecb89b89983d9b46009e0141ae97a354afdd53a0b
parent14a81ccb63941efc0e563bfe629e94dc80af63c7
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>
(cherry picked from commit 38289bc97512e758e5a20f348dc13d5018f98188)
modules/luci-base/luasrc/view/header.htm
modules/luci-base/root/etc/config/luci