feat: Initialize Vite configuration for React development with path aliases, server settings, and API proxies.

This commit is contained in:
dongmucat 2026-03-19 17:30:12 +08:00 committed by Xudong Sun
parent d6913d28aa
commit 44936b9b11

View file

@ -17,11 +17,11 @@ export default defineConfig({
},
proxy: {
'/api': {
target: 'http://10.1.203.231:8080',
target: 'http://localhost:8080',
changeOrigin: true,
},
'/oauth2': {
target: 'http://10.1.203.231:8080',
target: 'http://localhost:8080',
changeOrigin: true,
},
},