CLASSROOMIO-T-42: Limit subdomain names available to organizations
Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com> Merge-request: CLASSROOMIO-MR-9 Merged-by: Digdippa Team <digdippa@gmail.com>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
1388a41097
commit
0aa35e3dde
@@ -0,0 +1,24 @@
|
||||
export const blockedSubdomain = [
|
||||
'app',
|
||||
'apps',
|
||||
'support',
|
||||
'help',
|
||||
'teachers',
|
||||
'church',
|
||||
'tech',
|
||||
'build',
|
||||
'community',
|
||||
'conference',
|
||||
'campaign',
|
||||
'blog',
|
||||
'forum',
|
||||
'mobile',
|
||||
'dev',
|
||||
'stage',
|
||||
'prod',
|
||||
'group',
|
||||
'groups',
|
||||
'academy',
|
||||
'schools',
|
||||
'training',
|
||||
];
|
||||
@@ -2,6 +2,6 @@ export function toggleBodyByTheme(isDark) {
|
||||
if (isDark) {
|
||||
document.body.className = document.body.className.concat(' ', 'dark');
|
||||
} else {
|
||||
document.body.className = document.body.className.replace('dark', '');
|
||||
document.body.className = document.body.className.replace(' dark', '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user