diff --git a/src/handlers/fix-request-body.ts b/src/handlers/fix-request-body.ts index 5da1f9c5..4fe1e458 100644 --- a/src/handlers/fix-request-body.ts +++ b/src/handlers/fix-request-body.ts @@ -23,7 +23,7 @@ export function fixRequestBody( proxyReq.write(bodyData); }; - if (contentType && (contentType.includes('application/json') || contentType.endsWith('+json'))) { + if (contentType && (contentType.includes('application/json') || contentType.includes('+json'))) { writeBody(JSON.stringify(requestBody)); }