From f52c36093e69996335ba5b0add92981012701eaf Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Fri, 22 Oct 2021 11:51:52 -0700 Subject: [PATCH] Remove old json based proxy config --- frontend/proxy.conf.json | 114 ---------------------------------- frontend/proxy.prod.conf.json | 99 ----------------------------- frontend/proxy.stg.conf.json | 100 ----------------------------- 3 files changed, 313 deletions(-) delete mode 100644 frontend/proxy.conf.json delete mode 100644 frontend/proxy.prod.conf.json delete mode 100644 frontend/proxy.stg.conf.json diff --git a/frontend/proxy.conf.json b/frontend/proxy.conf.json deleted file mode 100644 index e694f0990..000000000 --- a/frontend/proxy.conf.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "/api/v1": { - "target": "http://localhost:8999/", - "secure": false - }, - "/api/v1/ws": { - "target": "http://localhost:8999/", - "secure": false, - "ws": true - }, - "/api/": { - "target": "http://localhost:8999/", - "secure": false, - "pathRewrite": { - "^/api/": "/api/v1/" - } - }, - "/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": "" - } - }, - "/signet/api/v1": { - "target": "http://localhost:8999/", - "secure": false, - "pathRewrite": { - "^/signet/api/v1": "/api/v1" - } - }, - "/signet/api/v1/ws": { - "target": "http://localhost:8999/", - "secure": false, - "ws": true, - "pathRewrite": { - "^/signet/api": "/api/v1/ws" - } - }, - "/signet/api/": { - "target": "http://localhost:50001/", - "secure": false, - "pathRewrite": { - "^/signet/api": "" - } - }, - "/liquid/api/v1/ws": { - "target": "http://localhost:8999/", - "secure": false, - "ws": true, - "pathRewrite": { - "^/liquid/api": "/api/v1/ws" - } - }, - "/liquid/api/v1/": { - "target": "http://localhost:8999/", - "secure": false, - "pathRewrite": { - "^/liquid/api/": "/api/" - } - }, - "/liquid/api/": { - "target": "http://localhost:8999/", - "secure": false, - "pathRewrite": { - "^/liquid/api/": "/api/v1/" - } - }, - "/bisq/api/": { - "target": "http://localhost:8999/", - "secure": false, - "pathRewrite": { - "^/bisq/api/": "/api/v1/bisq/" - } - }, - "/bisq/api/v1/ws": { - "target": "http://localhost:8999/", - "secure": false, - "ws": true, - "pathRewrite": { - "^/bisq/api": "/api/v1/ws" - } - }, - "/resources/assets.minimal.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - }, - "/resources/assets.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - }, - "/resources/pools.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - } -} diff --git a/frontend/proxy.prod.conf.json b/frontend/proxy.prod.conf.json deleted file mode 100644 index a101ce9d5..000000000 --- a/frontend/proxy.prod.conf.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "/api/v1/ws": { - "target": "https://mempool.space", - "secure": false, - "ws": true - }, - "/api": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true, - "logLevel": "debug", - "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 - }, - "/resources/assets.minimal.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - }, - "/resources/assets.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - }, - "/resources/pools.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - } -} \ No newline at end of file diff --git a/frontend/proxy.stg.conf.json b/frontend/proxy.stg.conf.json deleted file mode 100644 index c07122510..000000000 --- a/frontend/proxy.stg.conf.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "/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/liquid/" - }, - "timeout": 3600000 - }, - "/resources/assets.minimal.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - }, - "/resources/assets.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - }, - "/resources/pools.json": { - "target": "https://mempool.space", - "secure": false, - "changeOrigin": true - } -}