Skip to content

Commit

Permalink
Add CORS header to metatags api
Browse files Browse the repository at this point in the history
  • Loading branch information
jparkrr authored Aug 29, 2023
1 parent 82cce41 commit 8ce0b1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/api/edge/metatags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default async function handler(req: NextRequest, ev: NextFetchEvent) {
status: 200,
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
});
} else {
Expand Down

0 comments on commit 8ce0b1d

Please sign in to comment.