diff --git a/pkg/dashboard/frontend/src/lib/utils/generate-response.ts b/pkg/dashboard/frontend/src/lib/utils/generate-response.ts index 899c28c5..9536de7d 100644 --- a/pkg/dashboard/frontend/src/lib/utils/generate-response.ts +++ b/pkg/dashboard/frontend/src/lib/utils/generate-response.ts @@ -6,7 +6,7 @@ export const generateResponse = async (res: Response, startTime: number) => { let data if (contentType === 'application/json') { - data = formatJSON(await res.json()) + data = formatJSON(await res.text()) } else if ( contentType?.startsWith('image/') || contentType?.startsWith('video/') ||