From b116bdec60d7e6103eed391b42ddaa48554da446 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 11 Dec 2023 03:36:22 +0300 Subject: [PATCH] redirect to app.classroomio.com for 404 --- apps/dashboard/src/routes/+layout.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/routes/+layout.server.ts b/apps/dashboard/src/routes/+layout.server.ts index ba619d33..ce598e6f 100644 --- a/apps/dashboard/src/routes/+layout.server.ts +++ b/apps/dashboard/src/routes/+layout.server.ts @@ -38,7 +38,7 @@ export const load = async ({ url, cookies }): Promise => { response.org = (await getCurrentOrg(response.orgSiteName, true)) || null; if (!response.org) { - throw redirect(302, '/404?type=org'); + throw redirect(301, 'https://app.classroomio.com/404?type=org'); } } else if (subdomain === 'play' || debugPlay === 'true') { response.skipAuth = true;