parent
8f0d9a05f0
commit
1bc17bc8c0
@ -1,6 +1,6 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_VERSION:=1.20.0
|
PKG_VERSION:=1.20.1
|
||||||
|
|
||||||
LUCI_TITLE:=LuCI Support for nikki
|
LUCI_TITLE:=LuCI Support for nikki
|
||||||
LUCI_DEPENDS:=+luci-base +nikki
|
LUCI_DEPENDS:=+luci-base +nikki
|
||||||
|
@ -114,7 +114,7 @@ return baseclass.extend({
|
|||||||
openDashboard: async function () {
|
openDashboard: async function () {
|
||||||
const uiName = uci.get('nikki', 'mixin', 'ui_name');
|
const uiName = uci.get('nikki', 'mixin', 'ui_name');
|
||||||
const apiListen = uci.get('nikki', 'mixin', 'api_listen');
|
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 apiPort = apiListen.substring(apiListen.lastIndexOf(':') + 1);
|
||||||
const params = {
|
const params = {
|
||||||
host: window.location.hostname,
|
host: window.location.hostname,
|
||||||
|
Loading…
Reference in New Issue
Block a user