mirror of
https://github.com/mempool/mempool.git
synced 2025-04-02 08:58:17 +02:00
fix services onion url
This commit is contained in:
parent
34d996c7cb
commit
7c90e8ae06
@ -210,6 +210,10 @@ export class StateService {
|
||||
this.env.MINING_DASHBOARD = false;
|
||||
}
|
||||
|
||||
if (document.location.hostname === 'mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion') {
|
||||
this.env.SERVICES_API = 'http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/v1/services';
|
||||
}
|
||||
|
||||
if (this.isBrowser) {
|
||||
this.setNetworkBasedonUrl(window.location.pathname);
|
||||
this.setLightningBasedonUrl(window.location.pathname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user