mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
1bd0c40c15
* add @cypress/schematic as a dev dependency * replace protractor with cypress * remove the boilerplate test * add the cypress-wait-until helper library * add cypress-wait-until to all tests * add signet to stg proxy config * add proxy config for production * add environment configs to angular.json * update e2e target to use the production proxy * update serve and start scripts to use the new environment config * add the concurrently lib to the dev dependencies * fix missing import * ignore videos and screenshots saved by the e2e suite * add fixtures for the tests * update cypress npm scripts to use concurrently * add some e2e tests
86 lines
1.8 KiB
JSON
86 lines
1.8 KiB
JSON
{
|
|
"/api/v1/ws": {
|
|
"target": "https://mempool.ninja",
|
|
"secure": false,
|
|
"ws": true
|
|
},
|
|
"/api/*": {
|
|
"target": "https://mempool.ninja",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"logLevel": "debug",
|
|
"pathRewrite": {
|
|
"^/api": "https://mempool.ninja/api"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/testnet/api/v1/ws": {
|
|
"target": "https://mempool.ninja/testnet",
|
|
"secure": false,
|
|
"ws": true,
|
|
"pathRewrite": {
|
|
"^/testnet/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/testnet/api/v1/*": {
|
|
"target": "https://mempool.ninja/testnet",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"pathRewrite": {
|
|
"^/testnet/api/v1": "/api/v1"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/signet/api/v1/ws": {
|
|
"target": "https://mempool.ninja/signet",
|
|
"secure": false,
|
|
"ws": true,
|
|
"pathRewrite": {
|
|
"^/signet/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/signet/api/v1/*": {
|
|
"target": "https://mempool.ninja/signet",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"pathRewrite": {
|
|
"^/signet/api/v1": "/api/v1"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/bisq/api/v1/ws": {
|
|
"target": "https://mempool.ninja/bisq",
|
|
"secure": false,
|
|
"ws": true,
|
|
"pathRewrite": {
|
|
"^/bisq/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/bisq/api/*": {
|
|
"target": "https://mempool.ninja/bisq",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"pathRewrite": {
|
|
"^/bisq/api/": "/api/v1/bisq/"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/liquid/api/v1/ws": {
|
|
"target": "https://mempool.ninja/liquid",
|
|
"secure": false,
|
|
"ws": true,
|
|
"pathRewrite": {
|
|
"^/liquid/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/liquid/api/*": {
|
|
"target": "https://mempool.ninja/liquid",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"pathRewrite": {
|
|
"^/liquid/api/": "/api/v1/liquid/"
|
|
},
|
|
"timeout": 3600000
|
|
}
|
|
}
|