Skip to content

Conversation

@ijmccallum
Copy link

@ijmccallum ijmccallum commented Jun 3, 2018

Description of changes

Added another cors header setting, following the pattern of the others in this file.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Access-Control-Allow-Credentials

The only valid value for this header is true, so I've not added in a "keystone.get('cors allow credentials')" bit like in the 'methods' and 'headers' settings.

Hopefully that seems ok!

Related issues (if any)

Add Access-Control-Allow-Credentials header to cors middleware #4380

Testing

  • Please confirm npm run test-all ran successfully.
Add Access-Control-Allow-Credentials header to cors middleware keystonejs#4380
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Access-Control-Allow-Credentials

The only valid value for this header is true, so I've not added in a "keystone.get('cors allow credentials')" bit like in the 'methods' and 'headers' settings.

Hopefully that seems ok!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment