chore: use different base url for different output

This commit is contained in:
2025-10-28 00:20:53 +08:00
parent 8dbdefb8b1
commit 1284698948
4 changed files with 8 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
// API 配置
export const API_CONFIG = {
BASE_URL: 'http://127.0.0.1:8099',
BASE_URL: import.meta.env.VITE_API_BASE_URL || 'http://127.0.0.1:8099',
TIMEOUT: 10000,
HEADERS: {
'Content-Type': 'application/json',