Skip to content

Commit

Permalink
attempt to fix base url from where iframe is served
Browse files Browse the repository at this point in the history
  • Loading branch information
willemolding committed Jan 9, 2024
1 parent 66b0e40 commit 4894a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/ui/pages/gamePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const GamePage: React.FC = () => {

return (
<ClickWrapper className="centered-div" style={{ display: "flex", justifyContent: "center", alignItems: "center", flexDirection: "column", gap: "20px" }}>
<iframe ref={renClientRef} src="/ren_client/" width="100%" height="500"></iframe>
<iframe ref={renClientRef} src={import.meta.env.BASE_URL + "/ren_client/"} width="100%" height="500"></iframe>

<div>
Now playing game {currentGameId}
Expand Down

0 comments on commit 4894a69

Please sign in to comment.