|
@@ -31,9 +31,9 @@ export default defineConfig({
|
|
|
server: {
|
|
server: {
|
|
|
proxy: {
|
|
proxy: {
|
|
|
'/api': {
|
|
'/api': {
|
|
|
- // target: 'http://172.16.102.52:8080',
|
|
|
|
|
|
|
+ target: 'http://172.16.102.52:8080',
|
|
|
// target: 'http://localhost:8080',
|
|
// target: 'http://localhost:8080',
|
|
|
- target: 'http://192.168.110.235:8080',
|
|
|
|
|
|
|
+ // target: 'http://192.168.110.235:8080',
|
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
|
rewrite: (path) => path.replace(/^\/api/, '')
|
|
rewrite: (path) => path.replace(/^\/api/, '')
|
|
|
}
|
|
}
|