forked from antux18/ChasseTresorPange
Small fix.
This commit is contained in:
parent
a299ceff64
commit
a54284c1f1
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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>."
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
?>
|
?>
|
@ -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>"
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user