mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix: 🐛 Allow all headers during CORS
This commit is contained in:
parent
4d98034a79
commit
3912314a83
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