aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/apps/new/+page.server.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-02-26 13:59:58 -0800
committerAdam Soltys <[email protected]>2025-02-26 13:59:58 -0800
commite41b139050143ffec87116db1d9094c785776cdc (patch)
tree4cd42c851abc7dac9e4808a2f98a2678adbd0a2b /src/routes/(app)/apps/new/+page.server.ts
parent66b5069777414d2f1e70b8a0804d7712e09b8304 (diff)
downloadcoinos-ui-e41b139050143ffec87116db1d9094c785776cdc.tar.gz
coinos-ui-e41b139050143ffec87116db1d9094c785776cdc.zip
submit postmessage after form submission
Diffstat (limited to 'src/routes/(app)/apps/new/+page.server.ts')
-rw-r--r--src/routes/(app)/apps/new/+page.server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/apps/new/+page.server.ts b/src/routes/(app)/apps/new/+page.server.ts
index 3fe18128..d8cd4e0f 100644
--- a/src/routes/(app)/apps/new/+page.server.ts
+++ b/src/routes/(app)/apps/new/+page.server.ts
@@ -8,7 +8,7 @@ export const load = async ({ parent, url }) => {
if (!user)
redirect(
307,
- `/register?redirect=${encodeURIComponent(url.pathname + url.search)}`,
+ `/login?redirect=${encodeURIComponent(url.pathname + url.search)}`,
);
const app = {