We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e3e266 commit 8ffe4ddCopy full SHA for 8ffe4dd
vulnerable-web/reservation/script.mjs
@@ -4,9 +4,9 @@ const ADMIN_PASSWORD = "GekiA2Rock"; // 管理者パスワード
4
// --- ページ判定 ---
5
const path = window.location.pathname;
6
7
-if (path.includes("admin.html")) {
+if (path.includes("admin")) {
8
initAdminPage();
9
-} else if (path.includes("index.html") || path.endsWith("/")) {
+} else if (path.includes("index")) {
10
initUserPage();
11
}
12
0 commit comments