This commit is contained in:
2025-08-15 16:16:41 +08:00
commit 182abccc60
171 changed files with 26833 additions and 0 deletions

20
vite.config.docker.js Normal file
View File

@@ -0,0 +1,20 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: '/',
server: {
host: '0.0.0.0',
port: 5173,
watch: {
usePolling: true,
},
proxy: {
'/api': {
target: 'http://backend:3000',
changeOrigin: true,
}
}
}
})