Merge pull request #5050 from mempool/mononaut/t4-unfurls

Enable testnet4 unfurls
This commit is contained in:
wiz
2024-05-09 23:42:39 +09:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -286,7 +286,7 @@ export function matchRoute(network: string, path: string, matchFor: string = 're
if (parts[0] === 'preview') {
parts.shift();
}
if (['testnet', 'signet'].includes(parts[0])) {
if (['testnet', 'testnet4', 'signet'].includes(parts[0])) {
match.networkMode = parts.shift() || 'mainnet';
}