fix: correct typo in comment for allowed methods

This commit is contained in:
MythEclipse
2026-05-07 20:08:04 +07:00
parent 9759d63b38
commit 149a646fea
+1 -1
View File
@@ -8,7 +8,7 @@ import {
export const config = { runtime: "edge" }; 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"]); const ALLOWED_METHODS = new Set(["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]);
export default async function handler(req: Request): Promise<Response> { export default async function handler(req: Request): Promise<Response> {