luci-base: rpc.js: make base URL configurable
authorJo-Philipp Wich <jo@mein.io>
Fri, 5 Apr 2019 06:08:17 +0000 (08:08 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:24 +0000 (15:36 +0200)
commit90288b2e2ca7e955983eaf0db59762351faa03fe
tree38720e02491e1baa5de52c8f0ed64c097d43e413
parenteee323cb6683e6f1f1da7059e49eb8f4498bedf6
luci-base: rpc.js: make base URL configurable

Implement setters and getters for the base URL prefix used and also
implement a session ID getter while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/rpc.js