redirect to app.classroomio.com for 404

This commit is contained in:
Rotimi Best
2023-12-11 03:36:22 +03:00
parent 820a59c80e
commit b116bdec60
+1 -1
View File
@@ -38,7 +38,7 @@ export const load = async ({ url, cookies }): Promise<LoadOutput> => {
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;