Skip to content

Commit 9f8d7c7

Browse files
committed
fix(server): test open CORS with credentials
1 parent 4be447d commit 9f8d7c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/server/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const allowHeaders = ["Content-Type", "Authorization", "x-project-id", "Access-C
5656
// middleware (rate limiter, CSRF, auth) can return a response without headers.
5757
const publicCors = cors({
5858
origin: "*",
59+
credentials: true,
5960
allowMethods,
6061
allowHeaders,
6162
});

0 commit comments

Comments
 (0)