fix compatbility with ancient bf0 builds

This commit is contained in:
zefie
2024-05-26 15:31:47 -04:00
parent f3feae65f3
commit 6b74a54118
2 changed files with 10 additions and 5 deletions

View File

@@ -177,7 +177,7 @@ if (session_data.data_store.wtvsec_login) {
if (!session_data.lockdown) headers += getServiceString('wtv-flashrom') + "\n";
if (bf0app_update) headers += "wtv-boot-url: " + gourl + "\n";
else {
headers += "wtv-boot-url: wtv-head-waiter:/relogin?relogin=true";
headers += "wtv-boot-url: wtv-head-waiter:/login?relogin=true";
if (request_headers.query.guest_login) headers += "&guest_login=true";
headers += "\n";
}