From 36c6fa4fa2442e34523866b81c0815fc6cebb994 Mon Sep 17 00:00:00 2001 From: Mahmoud Date: Mon, 3 Oct 2022 11:42:16 -0500 Subject: [PATCH] Add auth path to proxy --- publisher/src/setupProxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publisher/src/setupProxy.js b/publisher/src/setupProxy.js index b58746831..1a1a119b5 100644 --- a/publisher/src/setupProxy.js +++ b/publisher/src/setupProxy.js @@ -2,7 +2,7 @@ const { createProxyMiddleware } = require("http-proxy-middleware"); module.exports = function (app) { app.use( - ["/api", "/app_public_config.js"], + ["/auth", "/api", "/app_public_config.js"], createProxyMiddleware({ target: process.env.REACT_APP_PROXY_HOST, changeOrigin: true,