From 4cc307299da6e2b9fd834fcca78808029acd4de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 17 May 2024 18:12:41 +0800 Subject: [PATCH] build: 1.3.5-beta23 --- src/webui/ui/NapCat.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index c535de5c..2d984242 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -272,8 +272,10 @@ async function onSettingWindowCreated(view: Element) { }); } }; + initReverseHost("http.postUrls", doc); initReverseHost("reverseWs.urls", doc); + doc .querySelector("#config-ob11-http-postUrls-add") ?.addEventListener("click", () => @@ -281,6 +283,7 @@ async function onSettingWindowCreated(view: Element) { placeholder: "如:http://127.0.0.1:5140/onebot", }) ); + doc .querySelector("#config-ob11-reverseWs-urls-add") ?.addEventListener("click", () =>