mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 06:35:15 +01:00
Fix Liquid proxy settings
This commit is contained in:
parent
3a67bc6425
commit
35e69f2e3d
1 changed files with 4 additions and 5 deletions
|
@ -61,10 +61,7 @@ PROXY_CONFIG = [
|
|||
},
|
||||
{
|
||||
context: ['/api/liquidtestnet**', '/liquidtestnet/api/**'],
|
||||
target: "https://liquid.network/testnet",
|
||||
pathRewrite: {
|
||||
"^/api/liquidtestnet/": "/liquidtestnet/api"
|
||||
},
|
||||
target: "https://liquid.network",
|
||||
ws: true,
|
||||
secure: false,
|
||||
changeOrigin: true
|
||||
|
@ -73,7 +70,9 @@ PROXY_CONFIG = [
|
|||
|
||||
if (configContent && configContent.BASE_MODULE == "liquid") {
|
||||
PROXY_CONFIG.push({
|
||||
context: ['/resources/pools.json', '/resources/assets.json', '/resources/assets.minimal.json'],
|
||||
context: ['/resources/pools.json',
|
||||
'/resources/assets.json', '/resources/assets.minimal.json',
|
||||
'/resources/assets-testnet.json', '/resources/assets-testnet.minimal.json'],
|
||||
target: "https://liquid.network",
|
||||
secure: false,
|
||||
changeOrigin: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue