mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
parent
d3646aa45e
commit
fd869c732d
@ -103,7 +103,8 @@ export class StateService {
|
||||
}
|
||||
|
||||
setNetworkBasedonUrl(url: string) {
|
||||
switch (url.split(/\/|\?|#/)[1]) {
|
||||
const networkMatches = url.match(/\/(bisq|testnet|liquid)/);
|
||||
switch (networkMatches && networkMatches[1]) {
|
||||
case 'liquid':
|
||||
if (this.network !== 'liquid') {
|
||||
this.network = 'liquid';
|
||||
|
Loading…
Reference in New Issue
Block a user