chore: naive init

This commit is contained in:
xingyu4j
2025-05-09 13:51:34 +08:00
parent 62570fa745
commit b98328132f
6 changed files with 568 additions and 524 deletions

View File

@@ -6,11 +6,11 @@ export default defineConfig(async () => {
vite: {
server: {
proxy: {
'/api': {
'/admin-api': {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
rewrite: (path) => path.replace(/^\/admin-api/, ''),
// mock代理目标地址
target: 'http://localhost:5320/api',
target: 'http://localhost:48080/admin-api',
ws: true,
},
},