Update allowed content types
This commit is contained in:
parent
892df136f8
commit
66bd82efbc
@ -3,6 +3,7 @@ import { verifyAccessToken } from "./getAccessToken";
|
|||||||
const allowedContentTypes = [
|
const allowedContentTypes = [
|
||||||
'text/plain',
|
'text/plain',
|
||||||
'text/csv',
|
'text/csv',
|
||||||
|
'application/json',
|
||||||
];
|
];
|
||||||
|
|
||||||
async function invalidPutRequest(request, env, ctx) {
|
async function invalidPutRequest(request, env, ctx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user