mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 07:07:36 +01:00
Don't append /api to electrs backend path for SSR
This commit is contained in:
parent
e5959f14bc
commit
5a70234370
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export class ElectrsApiService {
|
|||
private stateService: StateService,
|
||||
) {
|
||||
if (!stateService.isBrowser) {
|
||||
API_BASE_URL = this.stateService.env.ELECTRS_ABSOLUTE_URL + '/api';
|
||||
API_BASE_URL = this.stateService.env.ELECTRS_ABSOLUTE_URL;
|
||||
}
|
||||
this.apiBaseUrl = API_BASE_URL.replace('{network}', '');
|
||||
this.stateService.networkChanged$.subscribe((network) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue