feat: deer-flow通过gateway转发 (#193)

This commit is contained in:
hhhhsc701
2025-12-23 11:35:45 +08:00
committed by GitHub
parent d82bff441a
commit 6d61348388
8 changed files with 53 additions and 103 deletions

View File

@@ -31,8 +31,7 @@ export default function WelcomePage() {
});
// 检查 HTTP 状态码在 200-299 范围内
const contentType = response.headers.get("content-type");
if (contentType && contentType.includes('application/json')) {
if (response.ok) {
return true;
}
} catch (error) {