From 66bd82efbc72314b9891c291d4bdf9f03df85542 Mon Sep 17 00:00:00 2001 From: HoshinoKoji Date: Wed, 2 Oct 2024 15:46:22 +0800 Subject: [PATCH] Update allowed content types --- src/put.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/put.js b/src/put.js index baa89c2..f92d184 100644 --- a/src/put.js +++ b/src/put.js @@ -3,6 +3,7 @@ import { verifyAccessToken } from "./getAccessToken"; const allowedContentTypes = [ 'text/plain', 'text/csv', + 'application/json', ]; async function invalidPutRequest(request, env, ctx) {