mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
fix: 🐛 Allow all headers during CORS
This commit is contained in:
parent
76237a9e1e
commit
c588dd1c90
1 changed files with 0 additions and 1 deletions
1
app.ts
1
app.ts
|
|
@ -76,7 +76,6 @@ export const appFactory = async () => {
|
|||
app.use(
|
||||
cors({
|
||||
origin: "*",
|
||||
allowHeaders: ["Content-Type", "Authorization"],
|
||||
allowMethods: ["GET", "POST", "PUT", "PATCH", "DELETE"],
|
||||
credentials: true,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue