From 94696d0cd30e4e98d361ddfa66c4ac5488664627 Mon Sep 17 00:00:00 2001 From: leomendoza123 Date: Wed, 25 Oct 2023 13:24:19 -0600 Subject: [PATCH] Enable dynamic pub api (#2088) --- 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 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() {