Skip to content

Commit

Permalink
edited cors policy
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Feb 8, 2022
1 parent 7ed7eca commit ea00ab3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/api/revalidate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default async function handler(req, res) {
res.header("Access-Control-Allow-Origin", "https://app.vercel.pub");
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Methods: POST, GET");
res.header(
"Access-Control-Allow-Headers",
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
Expand Down

0 comments on commit ea00ab3

Please sign in to comment.