Skip to content

Commit 32a9ecd

Browse files
committed
update CORS options
1 parent c4fc85f commit 32a9ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const corsOptions = {
1717
methods: ['GET', 'PATCH', 'POST', 'DELETE'],
1818
preflightContinue: true,
1919
credentials: true,
20-
allowedHeaders: 'Content-Type,Authorization'
20+
allowedHeaders: 'Content-Type,Authorization,Set-Cookie'
2121
}
2222

2323
app.use(express.json());

0 commit comments

Comments
 (0)