Frontend config support for AU. New absolute server url settings.
refs #104
This commit is contained in:
1 parent
bd1440ce96
commit
d2cd595da6
16 files changed
+68
-66
No files matched your search
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user