Explorar el Código

1、跨域修改

LST hace 1 año
padre
commit
a01f9e0d15
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -35,7 +35,7 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://localhost:8080`,
+        target: `http://10.204.37.141:9090`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''