许静 5 лет назад
Родитель
Сommit
c70fab9f91
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      vue.config.js

+ 2
- 2
vue.config.js Просмотреть файл

@@ -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': '/'