first commit

This commit is contained in:
2026-03-28 15:43:18 +08:00
commit e5611df24e
54 changed files with 11065 additions and 0 deletions

25
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const backendTarget = 'http://127.0.0.1:8080'
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api': {
target: backendTarget,
changeOrigin: true,
},
'/healthz': {
target: backendTarget,
changeOrigin: true,
},
'/ws': {
target: backendTarget.replace('http://', 'ws://'),
ws: true,
changeOrigin: true,
},
},
},
})