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() {