This commit is contained in:
2025-04-21 10:30:45 +08:00
parent 9731d104f6
commit e89510d7c0
14 changed files with 308 additions and 120 deletions

View File

@@ -42,10 +42,10 @@ export default defineConfig({
server: {
port: 9050,
proxy: {
'/api': {
'/baseApi': {
target: 'http://192.168.1.105',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
rewrite: (path) => path.replace(/^\/baseApi/, ''),
}
}
}