From 149a646feac130302b05ed8a603021155a53b6e6 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Thu, 7 May 2026 20:08:04 +0700 Subject: [PATCH] fix: correct typo in comment for allowed methods --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {