Org landing page template

This commit is contained in:
Rotimi Best
2023-08-16 04:24:24 +01:00
parent 2ce3063b83
commit ad2b87ca15
7 changed files with 362 additions and 70 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export const load = ({ url, cookies }) => {
const debugMode = debugOrgLandingPage === 'true';
console.log('debugOrgLandingPage', debugOrgLandingPage);
const matches = url.host.match(/([a-z0-9]+).*classroomio[.]com/);
const matches = url.host.match(/([a-z 0-9 \-]+).*classroomio[.]com/);
const subdomain = matches?.[1] ?? '';
if (!blockedSubdomain.includes(subdomain)) {