傅行帆 5 years ago
parent
commit
1af933ad91
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      vue.config.js

+ 1
- 1
vue.config.js View File

3
   devServer: {
3
   devServer: {
4
     proxy: {
4
     proxy: {
5
       '/api': {
5
       '/api': {
6
-        target: 'http://192.168.0.11:8080',
6
+        target: 'http://localhost:8080',
7
         changeOrigin: true,
7
         changeOrigin: true,
8
         // pathRewrite: {
8
         // pathRewrite: {
9
         //   '^/api': '/'
9
         //   '^/api': '/'