feat: introduce trail api and depreciate old api

This commit is contained in:
swve 2023-03-26 18:46:03 +02:00
parent ecf4e4d6d9
commit e14ba02f97
13 changed files with 315 additions and 271 deletions

View file

@ -21,7 +21,8 @@ export const getOrgFromUri = () => {
} else {
if (typeof window !== "undefined") {
const hostname = window.location.hostname;
return hostname.replace(".localhost:3000", "");
return hostname.replace(".localhost", "");
}
}
};