Small fix.

This commit is contained in:
antux18 2023-07-27 13:19:03 +02:00
parent a299ceff64
commit a54284c1f1
3 changed files with 2 additions and 3 deletions

View File

@ -26,7 +26,6 @@ export async function puzzleSolve(code, team_id, art_id) {
try { try {
const response = await fetch(url.origin + "/answer.php?lg=" + lg + "&team=" + team_id + "&code=" + code + "&id=" + art_id); const response = await fetch(url.origin + "/answer.php?lg=" + lg + "&team=" + team_id + "&code=" + code + "&id=" + art_id);
const data = await response.json(); const data = await response.json();
console.log(data["hint"]);
if (data["valid_qr"]) { if (data["valid_qr"]) {
location.reload(); location.reload();
} }

View File

@ -31,7 +31,7 @@
"home" => "Home" "home" => "Home"
], ],
"footer" => [ "footer" => [
"text" => "Lycée Jean de Pange Sarreguemines<br>Source code is available <a href='https://forge.chapril.org/antux18/ChasseTresorPange'>here</a>." "text" => "Lycée Jean de Pange Sarreguemines<br><a href='https://forge.chapril.org/antux18/ChasseTresorPange'>Source code</a>."
] ]
]; ];
?> ?>

View File

@ -31,7 +31,7 @@
"home" => "Accueil" "home" => "Accueil"
], ],
"footer" => [ "footer" => [
"text" => "Lycée Jean de Pange Sarreguemines<br>Le code source est disponible <a href='https://forge.chapril.org/antux18/ChasseTresorPange'>ici</a>." "text" => "Lycée Jean de Pange Sarreguemines<br><a href='https://forge.chapril.org/antux18/ChasseTresorPange'>Code source</a>"
] ]
]; ];
?> ?>