fix: correct typo in comment for allowed methods
This commit is contained in:
+1
-1
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user