Commit 9af0636f1bbdd06e77eee4ae568ab2c427abc6ea
1 parent
8675b237
超哥牛批
Showing
1 changed file
with
4 additions
and
4 deletions
vue.config.js
| ... | ... | @@ -38,16 +38,16 @@ module.exports = { |
| 38 | 38 | }, |
| 39 | 39 | proxy: { |
| 40 | 40 | '/development': { |
| 41 | - // target: `http://inteview.t1j2.com/`, //后台服务地址 | |
| 42 | - target:'http://localhost:8877', | |
| 41 | + target: `http://inteview.t1j2.com/`, //后台服务地址 | |
| 42 | + // target:'http://localhost:8877', | |
| 43 | 43 | changeOrigin: true, |
| 44 | 44 | pathRewrite: { |
| 45 | 45 | '^/development': '' |
| 46 | 46 | } |
| 47 | 47 | }, |
| 48 | 48 | '/api': { |
| 49 | - // target: `http://inteview.t1j2.com/`, //后台服务地址 | |
| 50 | - target: 'http://localhost:8877', | |
| 49 | + target: `http://inteview.t1j2.com/`, //后台服务地址 | |
| 50 | + // target: 'http://localhost:8877', | |
| 51 | 51 | changeOrigin: true, |
| 52 | 52 | pathRewrite: {} |
| 53 | 53 | } | ... | ... |