fix: avoid redirecting for app

This commit is contained in:
Rotimi Best
2023-12-11 10:24:07 +03:00
parent 28e9281fdc
commit fb0faa75cd
+1 -1
View File
@@ -42,7 +42,7 @@ export const load = async ({ url, cookies }): Promise<LoadOutput> => {
}
} else if (subdomain === 'play' || debugPlay === 'true') {
response.skipAuth = true;
} else {
} else if (subdomain !== 'app') {
throw redirect(301, 'https://app.classroomio.com');
}