feat: 配置 Vite 开发服务器端口为 2613

This commit is contained in:
2026-01-26 08:56:17 +08:00
parent 4fa43eed39
commit 3c39437af6
2 changed files with 4 additions and 1 deletions

2
.env
View File

@@ -3,4 +3,4 @@
# VITE_API_BASE_URL=/api/v1 # VITE_API_BASE_URL=/api/v1
# 本地开发 # 本地开发
VITE_API_BASE_URL=http://127.0.0.1:8080/api/v1 VITE_API_BASE_URL=http://127.0.0.1:2612/api/v1

View File

@@ -14,4 +14,7 @@ export default defineConfig({
environment: 'jsdom', environment: 'jsdom',
setupFiles: './src/test/setup.ts', setupFiles: './src/test/setup.ts',
}, },
server: {
port: 2613,
},
}); });