redirect
parent
e0a57f5892
commit
889e124bc4
|
@ -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>
|
||||||
```
|
```
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue