fix: getCurrentOrg query for subdomains

This commit is contained in:
Rotimi Best
2024-09-04 06:55:50 +01:00
parent 3bbbbe80d3
commit 2d5f0ba6ad
2 changed files with 2 additions and 1 deletions
@@ -68,6 +68,7 @@ export const load = async ({ url, cookies }): Promise<LoadOutput> => {
const subdomain = getSubdomain(url) || '';
const isDev = dev || isLocalHost;
console.log('url.host', url.host);
if (!url.host.includes('.classroomio.com') && !isLocalHost) {
// Custom domain