From d5a742daa9a7171dee2ddfed2cedaf0c055962df Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Tue, 24 Oct 2023 12:52:25 -0600 Subject: [PATCH] Clean up --- src/environments/environment.local-with-proxy.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/environments/environment.local-with-proxy.ts b/src/environments/environment.local-with-proxy.ts index c735432e64..b5dead85ca 100644 --- a/src/environments/environment.local-with-proxy.ts +++ b/src/environments/environment.local-with-proxy.ts @@ -1,9 +1,4 @@ -function getSubDomain() { - const subdomain = window.location.hostname.split('.').slice(0, -2).join('.'); - return subdomain? subdomain+'.':'' - -} - +import { getSubDomain } from "./subdomain.adapter"; export const environment = { production: false,