Add testnet and bisq to local development proxy config.

This commit is contained in:
softsimon 2020-08-02 18:31:47 +07:00
parent e6fa274aca
commit bf1101ff66
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -8,6 +8,35 @@
"secure": false, "secure": false,
"ws": true "ws": true
}, },
"/api": {
"target": "http://localhost:50001/",
"secure": false,
"pathRewrite": {
"^/api": ""
}
},
"/testnet/api/v1": {
"target": "http://localhost:8999/",
"secure": false,
"pathRewrite": {
"^/testnet/api/v1": "/api/v1"
}
},
"/testnet/api/v1/ws": {
"target": "http://localhost:8999/",
"secure": false,
"ws": true,
"pathRewrite": {
"^/testnet/api": "/api/v1/ws"
}
},
"/testnet/api": {
"target": "http://localhost:50001/",
"secure": false,
"pathRewrite": {
"^/testnet/api": ""
}
},
"/bisq/api": { "/bisq/api": {
"target": "http://localhost:8999/", "target": "http://localhost:8999/",
"secure": false, "secure": false,
@ -15,11 +44,12 @@
"^/bisq/api": "/api/v1/bisq" "^/bisq/api": "/api/v1/bisq"
} }
}, },
"/api": { "/bisq/api/v1/ws": {
"target": "http://localhost:50001/", "target": "http://localhost:8999/",
"secure": false, "secure": false,
"ws": true,
"pathRewrite": { "pathRewrite": {
"^/api": "" "^/testnet/api": "/api/v1/ws"
} }
} }
} }