From 9fc9925488ecca3c515e97602e479a145d306fc3 Mon Sep 17 00:00:00 2001 From: Egor Kislitsyn Date: Sat, 6 Jul 2019 18:14:19 +0700 Subject: [PATCH] Use target from the settings --- config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 821d6d0322..ccec419654 100644 --- a/config/index.js +++ b/config/index.js @@ -50,7 +50,7 @@ module.exports = { ws: true }, '/oauth/revoke': { - target: 'http://localhost:4000/', + target, changeOrigin: true, cookieDomainRewrite: 'localhost' }