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
88 lines
1.8 KiB
JSON
88 lines
1.8 KiB
JSON
{
|
|
"/api/v1/ws": {
|
|
"target": "https://mempool.space",
|
|
"secure": false,
|
|
"ws": true
|
|
},
|
|
"/api/*": {
|
|
"target": "https://mempool.space",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"logLevel": "debug",
|
|
"pathRewrite": {
|
|
"^/api": "https://mempool.space/api"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/testnet/api/v1/ws": {
|
|
"target": "https://mempool.space/testnet",
|
|
"secure": false,
|
|
"ws": true,
|
|
"loglevel": "debug",
|
|
"pathRewrite": {
|
|
"^/testnet/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/testnet/api/*": {
|
|
"target": "https://mempool.space",
|
|
"secure": true,
|
|
"changeOrigin": true,
|
|
"loglevel": "debug",
|
|
"pathRewrite": {
|
|
"/testnet/api": "/testnet/api"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/signet/api/v1/ws": {
|
|
"target": "https://mempool.space/signet",
|
|
"secure": false,
|
|
"ws": true,
|
|
"loglevel": "debug",
|
|
"pathRewrite": {
|
|
"^/signet/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/signet/api/*": {
|
|
"target": "https://mempool.space",
|
|
"secure": true,
|
|
"changeOrigin": true,
|
|
"loglevel": "debug",
|
|
"pathRewrite": {
|
|
"/signet/api": "/signet/api"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
|
|
"/bisq/api/v1/ws": {
|
|
"target": "https://mempool.space/bisq",
|
|
"secure": false,
|
|
"ws": true,
|
|
"pathRewrite": {
|
|
"^/bisq/api": "/api/v1/ws"
|
|
}
|
|
},
|
|
"/bisq/api/*": {
|
|
"target": "https://mempool.space/bisq",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"pathRewrite": {
|
|
"^/bisq/api/": "/api/v1/bisq/"
|
|
},
|
|
"timeout": 3600000
|
|
},
|
|
"/liquid/api/v1/ws": {
|
|
"target": "https://mempool.space",
|
|
"secure": false,
|
|
"ws": true
|
|
},
|
|
"/liquid/api/*": {
|
|
"target": "https://mempool.space",
|
|
"secure": false,
|
|
"changeOrigin": true,
|
|
"pathRewrite": {
|
|
"^/liquid/api/": "/liquid/api/"
|
|
},
|
|
"timeout": 3600000
|
|
}
|
|
}
|