diff --git a/luci-app-nikki/Makefile b/luci-app-nikki/Makefile index 7d0e8c107..4e1663bda 100644 --- a/luci-app-nikki/Makefile +++ b/luci-app-nikki/Makefile @@ -1,6 +1,6 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.20.0 +PKG_VERSION:=1.20.1 LUCI_TITLE:=LuCI Support for nikki LUCI_DEPENDS:=+luci-base +nikki diff --git a/luci-app-nikki/htdocs/luci-static/resources/tools/nikki.js b/luci-app-nikki/htdocs/luci-static/resources/tools/nikki.js index 3ce710484..dc1fd7ca1 100644 --- a/luci-app-nikki/htdocs/luci-static/resources/tools/nikki.js +++ b/luci-app-nikki/htdocs/luci-static/resources/tools/nikki.js @@ -114,7 +114,7 @@ return baseclass.extend({ openDashboard: async function () { const uiName = uci.get('nikki', 'mixin', 'ui_name'); const apiListen = uci.get('nikki', 'mixin', 'api_listen'); - const apiSecret = encodeURIComponent(uci.get('nikki', 'mixin', 'api_secret') ?? ''); + const apiSecret = uci.get('nikki', 'mixin', 'api_secret') ?? ''; const apiPort = apiListen.substring(apiListen.lastIndexOf(':') + 1); const params = { host: window.location.hostname,