Skip to content

Commit

Permalink
Restore absolute url on kiosk qr code
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Aug 28, 2023
1 parent d1b7023 commit 402b7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiosk/src/Components/AddingGame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const AddingGame: React.FC<IProps> = ({ kiosk }) => {

const qrDivContent = () => {
if (renderQRCode && kioskCode) {
const kioskUrl = `${kioskCodeUrl}#add-game:${kioskCode}`;
const kioskUrl = `${window.location.origin}${kioskCodeUrl}#add-game:${kioskCode}`;
return (
<div className="innerQRCodeContent">
<h3>{kioskTimeOutInMinutes} minute Kiosk ID</h3>
Expand Down

0 comments on commit 402b7c4

Please sign in to comment.