From 4be1e527fcb40563275868d3fcb9cce64e2e2c73 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Wed, 19 Aug 2020 00:41:06 -0400 Subject: [PATCH] Add application/vnd.api+json as a valid JSON mime to editorutils --- helpers/editorutils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers/editorutils.js b/helpers/editorutils.js index 32b0ef360..0955bbf37 100644 --- a/helpers/editorutils.js +++ b/helpers/editorutils.js @@ -3,6 +3,7 @@ const mimeToMode = { "text/html": "html", "application/xml": "xml", "application/hal+json": "json", + "application/vnd.api+json": "json", "application/json": "json", }