This commit is contained in:
bridge
2025-11-20 01:27:48 +08:00
parent bfefb97ea2
commit cdc3322ff0
13 changed files with 2550 additions and 0 deletions

21
web/vite.config.ts Normal file
View File

@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8002',
changeOrigin: true,
},
'/ws': {
target: 'ws://localhost:8002',
ws: true,
changeOrigin: true,
}
}
}
})