puzhibing
6 天以前 0db8c9b94a9ac655549d5eba5c2a6c92ac386c06
culture/vue.config.js
@@ -12,7 +12,7 @@
      "/api": {
        // 设置以什么前缀开头的请求用来代理
        // target: "http://221.182.45.100:8081", //要访问的跨域的域名
        target: "http://192.168.110.64:8082",
        target: "http://localhost:8082",
        secure: false, // 使用的是http协议则设置为false,https协议则设置为true
        changeOrigin: true, //开启代理
        pathRewrite: {
@@ -22,7 +22,7 @@
      "/": {
        // 设置以什么前缀开头的请求用来代理
        // target: "http://221.182.45.100:8081", //要访问的跨域的域名
        target: "http://192.168.110.64:8082",
        target: "http://localhost:8082",
        secure: false, // 使用的是http协议则设置为false,https协议则设置为true
        changeOrigin: true, //开启代理
        pathRewrite: {
@@ -32,7 +32,7 @@
      "/open": {
        // 设置以什么前缀开头的请求用来代理
        // target: "http://221.182.45.100:8081", //要访问的跨域的域名
        target: "http://192.168.110.64:8082",
        target: "http://localhost:8082",
        secure: false, // 使用的是http协议则设置为false,https协议则设置为true
        changeOrigin: true, //开启代理
        pathRewrite: {