Merge branch 'feat/organizations' of github.com:calcom/cal.com into feat/organizations

This commit is contained in:
Leo Giovanetti 2023-06-13 16:59:58 -03:00
commit 77667200ab

View File

@ -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) => {