Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

barryvdh
Copy link
Contributor

exposed_headers can be false or an array (not true). max_age can be false or an integer.
There defaults make it more obvious.

@GrahamCampbell GrahamCampbell changed the title Update default CORS config [7.x] Update default CORS config Mar 11, 2020
@GrahamCampbell
Copy link
Member

Does this need fixing on 6.x too?

@barryvdh
Copy link
Contributor Author

It's not a fix perse, because the config worked. They just can't pass true in there.
Should I target 6.x instead?

@GrahamCampbell
Copy link
Member

If this is the new package default config file, it's probably worth having 6.x LTS ship with the latest config.

@taylorotwell taylorotwell merged commit 166abfa into laravel:master Mar 11, 2020
@barryvdh
Copy link
Contributor Author

So should I create a new PR for 6.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants