Skip to content

Commit

Permalink
fix: cors
Browse files Browse the repository at this point in the history
  • Loading branch information
OXeu committed Jul 9, 2024
1 parent b3907cf commit 26e4006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const app = () => new Elysia({ aot: false })
methods: '*',
allowedHeaders: [
'Authorization',
'authorization',
'content-type'
],
maxAge: 600,
Expand Down

0 comments on commit 26e4006

Please sign in to comment.