mirror of
https://github.com/mempool/mempool.git
synced 2025-03-29 11:12:16 +01:00
Merge pull request #5432 from mempool/simon/match-any-onion
match any onion
This commit is contained in:
commit
15f10736e2
@ -210,7 +210,7 @@ export class StateService {
|
||||
this.env.MINING_DASHBOARD = false;
|
||||
}
|
||||
|
||||
if (document.location.hostname === 'mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion') {
|
||||
if (document.location.hostname.endsWith('.onion')) {
|
||||
this.env.SERVICES_API = 'http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/v1/services';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user