添加聊天框消息解析功能;优化请求头处理;更新部分 api base url

This commit is contained in:
2026-03-27 18:00:30 +08:00
parent 8713e5a468
commit a101e79750
11 changed files with 464 additions and 193 deletions
@@ -63,6 +63,7 @@ export const ProjectSelector: React.FC<ProjectSelectorProps> = ({
try {
const response = await apiFetch(
`${config.BACKEND_URL}/api/v1/meta/projects`,
{ projectHeaderMode: "omit" },
);
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);