|
|
@ -12,7 +12,7 @@ export default ({ mode, command }) => { |
|
|
|
port: 2888, |
|
|
|
port: 2888, |
|
|
|
proxy: { |
|
|
|
proxy: { |
|
|
|
'/api': { |
|
|
|
'/api': { |
|
|
|
target: 'http://test.api.huitongys.com', |
|
|
|
target: 'http://h5uapi.huitongys.com', |
|
|
|
//target: 'http://test3.javablade.com',
|
|
|
|
//target: 'http://test3.javablade.com',
|
|
|
|
changeOrigin: true, |
|
|
|
changeOrigin: true, |
|
|
|
rewrite: path => path.replace(/^\/api/, ''), |
|
|
|
rewrite: path => path.replace(/^\/api/, ''), |
|
|
|