Browse Source

1.IP路径

306132416@qq.com 4 years ago
parent
commit
7bfd72e03b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -3,8 +3,8 @@ module.exports = {
     devServer: {
         proxy: {
             '/api':{
-                 //target:"http://8.136.230.133:8080",//这里设置你要访问的域名(或IP+端口)   //测试
-                target:"http://8.140.188.129:8080",//这里设置你要访问的域名(或IP+端口) //线上
+                 target:"http://8.136.230.133:8080",//这里设置你要访问的域名(或IP+端口)   //测试
+                //target:"http://8.140.188.129:8080",//这里设置你要访问的域名(或IP+端口) //线上
                 //target:"http://192.168.2.122:8080",//这里设置你要访问的域名(或IP+端口)
                 changeOrigin:true,
                 pathRewrite:{