diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 47c6467d23..6aeb0993f0 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -51,6 +51,10 @@ export class AppModule { '', this.getSubDomain() ) + environment.API_PUB = environment.API_PUB.replace( + '', + this.getSubDomain() + ) environment.API_WEB = environment.API_WEB.replace( '', this.getCurrentLeanDomain() @@ -59,6 +63,10 @@ export class AppModule { '', this.getCurrentLeanDomain() ) + environment.API_PUB = environment.API_PUB.replace( + '', + this.getCurrentLeanDomain() + ) } getCurrentLeanDomain() {