chore(dev): move local API default port to 3010

Avoid conflict with another local service on 3000; align Vite proxies and docs.
This commit is contained in:
2026-08-07 21:03:23 +08:00
parent 21d44026d9
commit 8f83624ffe
13 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -13,6 +13,6 @@ export default defineConfig({
},
server: {
port: 5174,
proxy: { '/api': 'http://localhost:3000' },
proxy: { '/api': process.env.VITE_API_TARGET ?? 'http://localhost:3010' },
},
});