redirect
parent
e0a57f5892
commit
889e124bc4
|
@ -6,7 +6,7 @@
|
|||
"https://kkqrcode.ex.umbach.dev/a", true); xhr.send(); window.location.href =
|
||||
|
||||
setTimeout(function(){
|
||||
window.location.protocol + "//" + window.location.host;
|
||||
window.location.href = window.location.protocol + "//" + window.location.host;
|
||||
}, 1000);
|
||||
</script>
|
||||
```
|
||||
|
|
|
@ -15,7 +15,7 @@ export async function Redirect(req: Request, res: Response) {
|
|||
if (qrCodeId === "a") {
|
||||
scannedBy = "Alex";
|
||||
} else if (qrCodeId === "j") {
|
||||
scannedBy = "Konrad";
|
||||
scannedBy = "Jan";
|
||||
} else if (qrCodeId === "k") {
|
||||
scannedBy = "Konrad";
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue