Skip to content

Commit 40592b1

Browse files
authored
Merge pull request #212 from scribear/fix-scribear-url
fix scribear url logic
2 parents a01af17 + 291424f commit 40592b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/navbars/topbar/qrCodeScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function QRCodeComponent() {
1919
if (!isKioskMode) return;
2020

2121
setLoading(true);
22-
setScribearURL(window.location.protocol + "//" + window.location.host);
22+
setScribearURL(window.location.protocol + "//" + window.location.host + window.location.pathname);
2323

2424
let updateAccessTokenTimeout;
2525
function updateAccessToken() {

0 commit comments

Comments
 (0)