This is an automated email from the ASF dual-hosted git repository.

siddteotia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new c0b3e9c  Updated frontend dev proxy configuration (#7975)
c0b3e9c is described below

commit c0b3e9ca6a76d5eb797675132bfd9d1589d4f72d
Author: Gaurav Joshi <[email protected]>
AuthorDate: Thu Jan 6 20:48:29 2022 -0800

    Updated frontend dev proxy configuration (#7975)
---
 pinot-controller/src/main/resources/webpack.config.js | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/pinot-controller/src/main/resources/webpack.config.js 
b/pinot-controller/src/main/resources/webpack.config.js
index 7a4cb24..6ed7a39 100644
--- a/pinot-controller/src/main/resources/webpack.config.js
+++ b/pinot-controller/src/main/resources/webpack.config.js
@@ -46,10 +46,13 @@ module.exports = (env, argv) => {
     devServer: {
       compress: true,
       hot: true,
-      open: true,
-      proxy: {
-        '/': 'http://localhost:9000'
-      }
+      proxy: [
+        {
+            context: "/",
+            target: "http://localhost:9000";,
+            changeOrigin: true,
+        },
+      ],
     },
     module: {
       rules: [

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to