diff --git a/apps/dashboard/src/routes/+layout.server.ts b/apps/dashboard/src/routes/+layout.server.ts index 85119c14..31acc1a7 100644 --- a/apps/dashboard/src/routes/+layout.server.ts +++ b/apps/dashboard/src/routes/+layout.server.ts @@ -31,7 +31,7 @@ export const load = async ({ url, cookies }): Promise => { const matches = url.host.match(/([a-z 0-9 -]+).*classroomio[.]com/); const subdomain = matches?.[1] ?? ''; - if (!url.host.includes('.classroomio.com')) { + if (!url.host.includes('.classroomio.com') && !url.host.includes('localhost')) { // TODO: We can verify if custom domain here return response; } diff --git a/apps/docs/theme.config.tsx b/apps/docs/theme.config.tsx index 6d97320c..37d32c0b 100644 --- a/apps/docs/theme.config.tsx +++ b/apps/docs/theme.config.tsx @@ -21,38 +21,35 @@ const config: DocsThemeConfig = { sizes="32x32" href={`${process.env.imagePath}/img/logo-32.png`} /> + + ClassroomIO – Launch Your Online Bootcamp In Minutes - - - + + + + - - - - - + + - - + + + + + ), logo: ( diff --git a/supabase/seed.sql b/supabase/seed.sql index ad3c0967..54ea45f5 100644 --- a/supabase/seed.sql +++ b/supabase/seed.sql @@ -1,4 +1,4 @@ insert into storage.buckets (id, name, public) values - ('avatars', 'avatars', true); \ No newline at end of file + ('avatars', 'avatars', true);