Description
Add Cross-Origin Resource Sharing controls to Flask routes and applications. It helps APIs decide which browser origins may read responses across origin boundaries.
This is security-sensitive web configuration. Overly broad CORS rules can expose APIs to untrusted sites, so production projects should restrict origins, methods, headers, and credentials deliberately.