Skip to content

Commit

Permalink
allow headers
Browse files Browse the repository at this point in the history
  • Loading branch information
giurgiur99 committed Jun 5, 2024
1 parent 3805435 commit eaa5e03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/invocation-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = function use(fastify, opts, done) {
'content-type': 'application/json; charset=utf-8',
'access-control-allow-methods': 'OPTIONS, GET, POST',
'access-control-allow-origin': '*',
'access-control-allow-headers': '*'
}).send();
}
done();
Expand Down

0 comments on commit eaa5e03

Please sign in to comment.