许静 hace 5 años
padre
commit
c70fab9f91
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      vue.config.js

+ 2
- 2
vue.config.js Ver fichero

@@ -4,8 +4,8 @@ module.exports = {
4 4
     port: 8080,
5 5
     proxy: {
6 6
       '/api': {
7
-        // target: 'http://192.168.0.11:8080',
8
-        target: 'http://localhost:8080',
7
+        target: 'http://192.168.0.11:8080',
8
+        // target: 'http://localhost:8080',
9 9
         changeOrigin: true,
10 10
         // pathRewrite: {
11 11
         //   '^/api': '/'