diff options
Diffstat (limited to 'apps/web-shared')
| -rw-r--r-- | apps/web-shared/src/lib/configuration.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web-shared/src/lib/configuration.ts b/apps/web-shared/src/lib/configuration.ts index 2004b13..eb38400 100644 --- a/apps/web-shared/src/lib/configuration.ts +++ b/apps/web-shared/src/lib/configuration.ts @@ -1,3 +1,4 @@ +export const TOPBASEDOMAIN = "greatoffice.life"; export const BASE_DOMAIN = "dev.greatoffice.life"; export const DEV_BASE_DOMAIN = "localhost"; export const API_ADDRESS = "https://api." + BASE_DOMAIN; @@ -15,7 +16,7 @@ export function projects_base(path: string = ""): string { } export function base_domain(path: string = ""): string { - return (is_development() ? DEV_BASE_DOMAIN : BASE_DOMAIN) + (path !== "" ? "/" + path : ""); + return (is_development() ? DEV_BASE_DOMAIN : TOPBASEDOMAIN) + (path !== "" ? "/" + path : ""); } export function frontpage_base(path: string = ""): string { |
