diff --git a/src/index.ts b/src/index.ts index f16a288..122c2d7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ import { export const config = { runtime: "edge" }; -// Only allow safe methods +// Only allow safe methodsa const ALLOWED_METHODS = new Set(["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]); export default async function handler(req: Request): Promise {