CORS Update & New Config Params
Applications that have a separate front-end and back-end need to be able to update the CORS Origin, Allow Headers, and Allow Methods. We were running into various CORS errors on the front-end and need to be able to change these params.
The cors.init_app function has been updated with new params and the following config params have been added CORS_ORIGIN, CORS_ALLOW_HEADERS, and CORS_ALLOW_METHODS The admin docs have been updated as well.
Coverage decreased (-0.009%) to 62.257% when pulling b30c55435baeb91930586dc604a7505130ee21a9 on infor-cloud:cors-update into 34d62073f9779795c575c9064aadb14da8780c5e on Netflix:master.
@JoeMcRobot Thanks for contributing. I've left a comment, but otherwise it looks good.
closing this PR due to inactivity, please feel free to open it as needed.
Hi, this PR was overlooked and we are circling back. We have added the Authorization header to our branch, but I don't see an option to re-open. Please let us know if we should resubmit this PR. Thanks!