feat: resource-group-management

This commit is contained in:
lcx committed 2025-12-15 18:52:37 +08:00
1 parent d725e9d896
commit 5c90b8e1ca
30 files changed
+2427 -8

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ export const fetchAPI = async <T = any>(
const contentType = response.headers.get("Content-Type");
// Parse response based on content type
if (contentType?.includes("application/json")) {
if (contentType?.includes("application/json") || response.url.startsWith("http://uat.apikit.com:11204/")) {
const result = await response.json();
return result;
} else if (contentType && contentType.includes("text/event-stream")) {