refactor: friend basic function refactory complete

This commit is contained in:
merlin
2025-12-16 18:09:06 +08:00
parent b2bcfdf1a9
commit a4bed485a5
33 changed files with 1269 additions and 822 deletions

View File

@@ -21,16 +21,16 @@ export default defineConfig({
// rewrite: (path) => path.replace(/^\/proxy/, ''), // 重写路径,去掉 /api 前缀
},
'/online': {
'/ws': {
target: 'ws://localhost:8080',
changeOrigin: true,
ws: true,
},
'/voice': {
target: 'ws://localhost:8080',
changeOrigin: true,
ws: true,
}
// '/ws': {
// target: 'ws://localhost:8080',
// changeOrigin: true,
// ws: true,
// }
},
},
// server: {