From 935bf67a6fe582d1c3798561acf843a16ffef3a7 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 7 Jun 2022 01:42:54 +0200 Subject: fix: Correct path to BASE_DOMAIN --- apps/web-shared/src/lib/configuration.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') 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 { -- cgit v1.3