Update orgDomains.ts
This commit is contained in:
parent
9e7fbefa51
commit
249129e9d2
|
@ -1,7 +1,15 @@
|
|||
import { WEBAPP_URL } from "@calcom/lib/constants";
|
||||
|
||||
// Define which hostnames are expected for the app
|
||||
export const appHostnames = ["cal.com", "cal.dev", "cal-staging.com", "cal.community", "cal.local:3000"];
|
||||
export const appHostnames = [
|
||||
"cal.com",
|
||||
"cal.dev",
|
||||
"cal-staging.com",
|
||||
"cal.community",
|
||||
"cal.local:3000",
|
||||
// ⬇️ Prevents 404 error for normal localhost development, makes it backwards compatible
|
||||
"localhost:3000",
|
||||
];
|
||||
|
||||
export function getOrgDomain(hostname: string) {
|
||||
// Find which hostname is being currently used
|
||||
|
|
Loading…
Reference in New Issue
Block a user