fix: load .env before imports and improve dev startup

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-27 22:22:19 +08:00
parent 8c56dbc459
commit d20a2639b6
9 changed files with 359 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ export default defineConfig({
port: 5173,
proxy: {
"/api": {
target: "http://localhost:3001",
target: "http://127.0.0.1:3001",
changeOrigin: true,
},
},