|
|
@ -34,9 +34,9 @@ export default defineConfig(({mode, command}) => {
|
|
|
|
// open: true,
|
|
|
|
// open: true,
|
|
|
|
proxy: {
|
|
|
|
proxy: {
|
|
|
|
'/dev-api': {
|
|
|
|
'/dev-api': {
|
|
|
|
// target: 'https://ticptest.tercelo.com/dev-api',
|
|
|
|
target: 'https://ticptest.tercelo.com/dev-api',
|
|
|
|
// target: 'http://47.94.93.46/dev-api',
|
|
|
|
// target: 'http://47.94.93.46/dev-api',
|
|
|
|
target: 'http://10.11.41.249:8080',
|
|
|
|
// target: 'http://10.11.41.249:8080',
|
|
|
|
// target: 'http://localhost:8080',
|
|
|
|
// target: 'http://localhost:8080',
|
|
|
|
changeOrigin: true,
|
|
|
|
changeOrigin: true,
|
|
|
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
|
|
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
|
|
|