First revision
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
// Base URL for your Flask API - IMPORTANT: Adjust if your backend runs elsewhere
|
||||
// 后端 Flask API 的基础 URL - 重要:如果后端运行在别处,请调整
|
||||
const API_BASE_URL = 'http://localhost:5000'; // Assuming Flask runs on port 5000
|
||||
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:5000'; // Assuming Flask runs on port 5000
|
||||
|
||||
// --- Helper function to get Auth Token ---
|
||||
// --- 获取认证 Token 的辅助函数 ---
|
||||
|
||||
Reference in New Issue
Block a user