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

peacewong pushed a commit to branch dev-1.3.2
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.3.2 by this push:
     new 38e71128f chore: For front-end debug convenience (#4216)
38e71128f is described below

commit 38e71128f70f8d3a22bed7eebc4e44d0f714d949
Author: QuantumXiecao <[email protected]>
AuthorDate: Wed Feb 15 12:06:03 2023 +0800

    chore: For front-end debug convenience (#4216)
    
    Co-authored-by: xiecao <[email protected]>
---
 linkis-web/vue.config.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/linkis-web/vue.config.js b/linkis-web/vue.config.js
index 19a389af7..3f71e1830 100644
--- a/linkis-web/vue.config.js
+++ b/linkis-web/vue.config.js
@@ -206,7 +206,9 @@ module.exports = {
   devServer: {
     proxy: {
       '/api': {
-        target: 'http://127.0.0.1:9001', // linkis
+        // You can set BACKEND_URL in .env.development(ignored by git) file
+        // BACKEND_URL=http://127.0.0.1:9001
+        target: process.env.BACKEND_URL,
         changeOrigin: true,
         pathRewrite: {
           '^/api': '/api'


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

Reply via email to