From 7d5dce2d866817a2a556851db2db889ae3fdd42c Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Wed, 25 Oct 2023 08:42:07 -0600 Subject: [PATCH] Enable dynamic pub api --- src/app/app.module.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 8bda339f52..9f9c817ee3 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -52,6 +52,10 @@ export class AppModule { '', this.getSubDomain() ) + environment.API_PUB = environment.API_PUB.replace( + '', + this.getSubDomain() + ) environment.API_WEB = environment.API_WEB.replace( '', this.getCurrentLeanDomain() @@ -60,6 +64,10 @@ export class AppModule { '', this.getCurrentLeanDomain() ) + environment.API_PUB = environment.API_PUB.replace( + '', + this.getCurrentLeanDomain() + ) } getCurrentLeanDomain() {