From 295e1771aba71a62f50f8fe55f4b82774cef942a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BA=92=E9=BA=9F?= <1782158860@qq.com> Date: Mon, 11 Sep 2023 22:27:14 +0800 Subject: [PATCH] bug --- src/main/webapp/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/settings.html b/src/main/webapp/settings.html index 6ea3cfd..c5cfc0b 100644 --- a/src/main/webapp/settings.html +++ b/src/main/webapp/settings.html @@ -122,7 +122,7 @@ } var ph = window.location.pathname.split('/'); - $("#al").html(window.location.protocol+'//'+window.location.host+(ph>2?'/'+ph[1]:ph[0])+'/alinotify'); + $("#al").html(window.location.protocol+'//'+window.location.host+(ph.length>2?('/'+ph[1]):ph[0])+'/alinotify');