Update absolute url config variables.

This commit is contained in:
softsimon
2020-11-23 14:50:28 +07:00
parent aaf9d9be9f
commit e5959f14bc
2 changed files with 3 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ export class AssetsService {
) {
let baseApiUrl = '';
if (!this.stateService.isBrowser) {
baseApiUrl = this.stateService.env.ELECTRS_ABSOLUTE_URL;
baseApiUrl = this.stateService.env.BACKEND_ABSOLUTE_URL;
}
this.getAssetsJson$ = this.httpClient.get(baseApiUrl + '/resources/assets.json').pipe(shareReplay());