Skip to content

Commit

Permalink
temp all all origins on show artwork revalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
antiantivirus committed Jan 16, 2025
1 parent 72f6586 commit 1b7f20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/revalidate/show-artwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function handler(
// return res.status(403).json({ error: "Forbidden" });
// }

res.setHeader("Access-Control-Allow-Origin", "https://app.contentful.com");
res.setHeader("Access-Control-Allow-Origin", "*");
res.setHeader("Access-Control-Allow-Methods", "GET,POST,OPTIONS");
res.setHeader("Access-Control-Allow-Headers", "*");

Expand Down

0 comments on commit 1b7f20e

Please sign in to comment.