chore: Subdomain blacklist when creating org (#9728)
Co-authored-by: Bailey Pumfleet <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
6 files changed
+37
-29
No files matched your search
@@ -70,3 +70,7 @@ export const IS_STRIPE_ENABLED = !!(
|
||||
export const IS_TEAM_BILLING_ENABLED = IS_STRIPE_ENABLED && (!IS_SELF_HOSTED || HOSTED_CAL_FEATURES);
|
||||
export const FULL_NAME_LENGTH_MAX_LIMIT = 50;
|
||||
export const MINUTES_TO_BOOK = process.env.NEXT_PUBLIC_MINUTES_TO_BOOK || "5";
|
||||
|
||||
// Needed for orgs
|
||||
export const ALLOWED_HOSTNAMES = JSON.parse(`[${process.env.ALLOWED_HOSTNAMES || ""}]`) as string[];
|
||||
export const RESERVED_SUBDOMAINS = JSON.parse(`[${process.env.RESERVED_SUBDOMAINS || ""}]`) as string[];
|
||||
Reference in new issue
Block a user