From 7ea142b64f550aef4835ca32b48ee73133e8abd3 Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Wed, 21 Jan 2026 16:28:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 2 +- frontend/vite.config.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 124452f..6881212 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 242744c..34f902a 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -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'),