aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/create/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/create/page.tsx')
-rw-r--r--src/app/create/page.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/create/page.tsx b/src/app/create/page.tsx
index dae0a52..a1bb6f9 100644
--- a/src/app/create/page.tsx
+++ b/src/app/create/page.tsx
@@ -103,8 +103,8 @@ export default function CreatePage() {
}
};
- const playerPath = mode === "typing" ? "/typing" : "/player";
- const shareUrl = code ? `${playerPath}?code=${code}` : "";
+ const playerPath = mode === "typing" ? "/game" : "/player";
+ const shareUrl = code ? `${window.location.origin}${playerPath}?code=${code}` : "";
return (
<Root>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage