Merge branch 'feat/organizations' of github.com:calcom/cal.com into feat/organizations
This commit is contained in:
commit
77667200ab
|
@ -11,6 +11,10 @@ export const appHostnames = [
|
|||
"localhost:3000",
|
||||
];
|
||||
|
||||
/**
|
||||
* return the org slug
|
||||
* @param hostname
|
||||
*/
|
||||
export function getOrgDomain(hostname: string) {
|
||||
// Find which hostname is being currently used
|
||||
const currentHostname = appHostnames.find((ahn) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user