mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 06:21:46 +01:00
Add mining pools resources route
This commit is contained in:
parent
b383f9fc67
commit
ad38e5fa2d
1 changed files with 9 additions and 3 deletions
|
@ -20,8 +20,8 @@ try {
|
|||
|
||||
PROXY_CONFIG = [
|
||||
{
|
||||
context: ['*',
|
||||
'/api/**', '!/api/v1/ws',
|
||||
context: ['*',
|
||||
'/api/**', '!/api/v1/ws',
|
||||
'!/bisq', '!/bisq/**', '!/bisq/',
|
||||
'!/liquid', '!/liquid/**', '!/liquid/',
|
||||
'!/liquidtestnet', '!/liquidtestnet/**', '!/liquidtestnet/',
|
||||
|
@ -65,7 +65,13 @@ PROXY_CONFIG = [
|
|||
ws: true,
|
||||
secure: false,
|
||||
changeOrigin: true
|
||||
}
|
||||
},
|
||||
{
|
||||
context: ['/resources/mining-pools/**'],
|
||||
target: "https://mempool.space",
|
||||
secure: false,
|
||||
changeOrigin: true
|
||||
}
|
||||
];
|
||||
|
||||
if (configContent && configContent.BASE_MODULE == "liquid") {
|
||||
|
|
Loading…
Add table
Reference in a new issue