Skip to content

Commit 8ffe4dd

Browse files
実験用
1 parent 4e3e266 commit 8ffe4dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vulnerable-web/reservation/script.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const ADMIN_PASSWORD = "GekiA2Rock"; // 管理者パスワード
44
// --- ページ判定 ---
55
const path = window.location.pathname;
66

7-
if (path.includes("admin.html")) {
7+
if (path.includes("admin")) {
88
initAdminPage();
9-
} else if (path.includes("index.html") || path.endsWith("/")) {
9+
} else if (path.includes("index")) {
1010
initUserPage();
1111
}
1212

0 commit comments

Comments
 (0)