Frontend config support for AU. New absolute server url settings.

refs #104
This commit is contained in:
softsimon committed 2020-11-23 02:30:46 +07:00
1 parent bd1440ce96
commit d2cd595da6
16 files changed
+68 -66

No files matched your search

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