From 39e78eb77a3722b6637306d399fc92de3f07517f Mon Sep 17 00:00:00 2001 From: NalagamdinniRaju Date: Wed, 11 Feb 2026 13:01:38 +0530 Subject: [PATCH] chore: update QR URL to use window.location.origin instead of hardcoded local IP --- app/routes/home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/home.tsx b/app/routes/home.tsx index 86b8ed4..fc6a627 100644 --- a/app/routes/home.tsx +++ b/app/routes/home.tsx @@ -48,8 +48,8 @@ export default function Dashboard() { return; } - const qrUrl = `http://10.20.2.107:5173/ar/${data.id}`; - // const qrUrl = `${window.location.origin}/v/${data.id}`; + // const qrUrl = `http://10.20.2.107:5173/ar/${data.id}`; + const qrUrl = `${window.location.origin}/ar/${data.id}`; const qrImage = await QRCode.toDataURL(qrUrl, { width: 512,