From c6e72be4832d3cecb3b1e3969c62dd1aa5afe5a3 Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 4 Aug 2021 14:21:15 +0300 Subject: [PATCH] Liquid proxy fix to work locally. --- frontend/proxy.conf.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/proxy.conf.json b/frontend/proxy.conf.json index 61cd6e825..e694f0990 100644 --- a/frontend/proxy.conf.json +++ b/frontend/proxy.conf.json @@ -67,11 +67,18 @@ "^/liquid/api": "/api/v1/ws" } }, - "/liquid/api/": { - "target": "http://localhost:50001/", + "/liquid/api/v1/": { + "target": "http://localhost:8999/", "secure": false, "pathRewrite": { - "^/liquid/api/": "" + "^/liquid/api/": "/api/" + } + }, + "/liquid/api/": { + "target": "http://localhost:8999/", + "secure": false, + "pathRewrite": { + "^/liquid/api/": "/api/v1/" } }, "/bisq/api/": {