mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 22:25:34 +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 = [
|
PROXY_CONFIG = [
|
||||||
{
|
{
|
||||||
context: ['*',
|
context: ['*',
|
||||||
'/api/**', '!/api/v1/ws',
|
'/api/**', '!/api/v1/ws',
|
||||||
'!/bisq', '!/bisq/**', '!/bisq/',
|
'!/bisq', '!/bisq/**', '!/bisq/',
|
||||||
'!/liquid', '!/liquid/**', '!/liquid/',
|
'!/liquid', '!/liquid/**', '!/liquid/',
|
||||||
'!/liquidtestnet', '!/liquidtestnet/**', '!/liquidtestnet/',
|
'!/liquidtestnet', '!/liquidtestnet/**', '!/liquidtestnet/',
|
||||||
|
@ -65,7 +65,13 @@ PROXY_CONFIG = [
|
||||||
ws: true,
|
ws: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
context: ['/resources/mining-pools/**'],
|
||||||
|
target: "https://mempool.space",
|
||||||
|
secure: false,
|
||||||
|
changeOrigin: true
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
if (configContent && configContent.BASE_MODULE == "liquid") {
|
if (configContent && configContent.BASE_MODULE == "liquid") {
|
||||||
|
|
Loading…
Add table
Reference in a new issue