From 1bc17bc8c059113ea0137ba761fc2c1e7dcf755c Mon Sep 17 00:00:00 2001 From: gitea-action Date: Tue, 4 Mar 2025 20:30:21 +0800 Subject: [PATCH] luci-app-nikki: sync upstream last commit: https://github.com/nikkinikki-org/OpenWrt-nikki/commit/d5a8a1e9f3e730c2b7f9e2e72904dd0a72cd696f --- luci-app-nikki/Makefile | 2 +- luci-app-nikki/htdocs/luci-static/resources/tools/nikki.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,