兼容性

main
mula.liu 2026-01-21 16:28:52 +08:00
parent ce9ccd70ef
commit 7ea142b64f
2 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,7 @@ services:
redis:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/docs"]
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3

View File

@ -5,6 +5,9 @@ import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
target: 'es2015',
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),