Skip to content

Commit

Permalink
fix: disable cors
Browse files Browse the repository at this point in the history
  • Loading branch information
inian committed Mar 18, 2021
1 parent 9991eef commit e7cb2fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const build = (opts: buildOpts = {}): FastifyInstance => {
},
})

// @todo - restrict origin here
app.register(fastifyCors)
// kong should take care of cors
// app.register(fastifyCors)

if (opts.exposeDocs) {
app.register(fastifySwagger, {
Expand Down

0 comments on commit e7cb2fb

Please # to comment.