cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

refactor: added credentials line to enableCors in app.ts

Open Neon-20 opened this issue 1 year ago • 2 comments

Adding credentials

  • By setting credentials: true in the CORS configuration, we're telling the browser that the server is allowed to receive credentials in the request.
  • This allows the browser to include credentials in the request, and the server can then authenticate the request accordingly.

Mandatory Tasks (DO NOT REMOVE)

  • [x] I have self-reviewed the code (A decent size PR without self-review might be rejected)
  • [ ] I have added a Docs issue here if this PR makes changes that would require a documentation change
  • [ ] I have added or modified automated tests that prove my fix is effective or that my feature works (PRs might be rejected if logical changes are not properly tested)

Neon-20 avatar Jun 25 '24 07:06 Neon-20

@Neon-20 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 25 '24 07:06 vercel[bot]

Graphite Automations

"Add community label" took an action on this PR • (06/25/24)

1 label was added to this PR based on Keith Williams's automation.

"Add consumer team as reviewer" took an action on this PR • (06/25/24)

1 reviewer was added to this PR based on Keith Williams's automation.

graphite-app[bot] avatar Jun 25 '24 08:06 graphite-app[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Jul 12 '24 00:07 github-actions[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Aug 01 '24 00:08 github-actions[bot]