main
alex 2024-02-03 20:29:07 +01:00
parent e0a57f5892
commit 889e124bc4
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"https://kkqrcode.ex.umbach.dev/a", true); xhr.send(); window.location.href = "https://kkqrcode.ex.umbach.dev/a", true); xhr.send(); window.location.href =
setTimeout(function(){ setTimeout(function(){
window.location.protocol + "//" + window.location.host; window.location.href = window.location.protocol + "//" + window.location.host;
}, 1000); }, 1000);
</script> </script>
``` ```

View File

@ -15,7 +15,7 @@ export async function Redirect(req: Request, res: Response) {
if (qrCodeId === "a") { if (qrCodeId === "a") {
scannedBy = "Alex"; scannedBy = "Alex";
} else if (qrCodeId === "j") { } else if (qrCodeId === "j") {
scannedBy = "Konrad"; scannedBy = "Jan";
} else if (qrCodeId === "k") { } else if (qrCodeId === "k") {
scannedBy = "Konrad"; scannedBy = "Konrad";
} else { } else {