Skip to content

Commit

Permalink
Enable dynamic pub api (#2088)
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 authored Oct 25, 2023
1 parent feec537 commit 94696d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export class AppModule {
'<SUBDOMAIN>',
this.getSubDomain()
)
environment.API_PUB = environment.API_PUB.replace(
'<SUBDOMAIN>',
this.getSubDomain()
)
environment.API_WEB = environment.API_WEB.replace(
'<DOMAIN>',
this.getCurrentLeanDomain()
Expand All @@ -59,6 +63,10 @@ export class AppModule {
'<DOMAIN>',
this.getCurrentLeanDomain()
)
environment.API_PUB = environment.API_PUB.replace(
'<DOMAIN>',
this.getCurrentLeanDomain()
)
}

getCurrentLeanDomain() {
Expand Down

0 comments on commit 94696d0

Please sign in to comment.