updates
This commit is contained in:
parent
51a02ac5f5
commit
1a16808623
@ -2,7 +2,8 @@ import { NextApiHandler, NextApiRequest, NextApiResponse } from "next";
|
||||
import Cors from "cors";
|
||||
|
||||
const cors = Cors({
|
||||
methods: ["POST", "GET", "HEAD"],
|
||||
methods: ["GET"],
|
||||
origin: "*",
|
||||
});
|
||||
|
||||
// Helper method to wait for a middleware to execute before continuing
|
||||
|
Loading…
Reference in New Issue
Block a user