许静 5 年 前
コミット
c70fab9f91
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      vue.config.js

+ 2
- 2
vue.config.js ファイルの表示

4
     port: 8080,
4
     port: 8080,
5
     proxy: {
5
     proxy: {
6
       '/api': {
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
         changeOrigin: true,
9
         changeOrigin: true,
10
         // pathRewrite: {
10
         // pathRewrite: {
11
         //   '^/api': '/'
11
         //   '^/api': '/'