From 889e124bc44294bcc9f46077fcb5016e98181e08 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 3 Feb 2024 20:29:07 +0100 Subject: [PATCH] redirect --- README.md | 2 +- src/controllers/qrCodeController.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d33b492..c276d90 100644 --- a/README.md +++ b/README.md @@ -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); ``` diff --git a/src/controllers/qrCodeController.ts b/src/controllers/qrCodeController.ts index b3183ef..b073a53 100644 --- a/src/controllers/qrCodeController.ts +++ b/src/controllers/qrCodeController.ts @@ -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 {