parent
34d06b17b3
commit
e02a5cb62e
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ interface RoomProps {
|
|||
|
||||
export default function Room({ id }: RoomProps) {
|
||||
if (typeof window !== 'undefined' && window.self !== window.top) {
|
||||
return <IFrameWarning url={`https://tldraw.com/r/${id}`} />
|
||||
return <IFrameWarning url={`${window.location.origin}/r/${id}`} />
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
@ -130,7 +130,7 @@ export const MultiplayerMenu = function MultiplayerMenu() {
|
|||
id="TD-Multiplayer-CreateMultiplayerProject"
|
||||
onClick={handleCreateMultiplayerProject}
|
||||
>
|
||||
<a href="https://tldraw.com/r">
|
||||
<a href={`${window.location.origin}/r`}>
|
||||
<FormattedMessage id="create.multiplayer.project" />
|
||||
</a>
|
||||
</DMItem>
|
||||
|
|
Loading…
Reference in a new issue