From 16e090b5209fe6ab69e30dc619ea27d95eb3896e Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Wed, 9 Oct 2024 17:20:09 -0700 Subject: [PATCH] Fix content type detection --- src-web/lib/contentType.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src-web/lib/contentType.ts b/src-web/lib/contentType.ts index cca144ef..780194a3 100644 --- a/src-web/lib/contentType.ts +++ b/src-web/lib/contentType.ts @@ -26,7 +26,10 @@ function detectFromContent( if (content.startsWith('{') || content.startsWith('[')) { return 'json'; - } else if (content.startsWith('