Update absolute url config variables.

This commit is contained in:
softsimon committed 2020-11-23 14:50:28 +07:00
1 parent d6528460a8
commit 23bac4dc5e
2 files changed
+3 -2

No files matched your search

+1 -1
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());