issues
search
flightphp
/
core
An extensible micro-framework for PHP
https://docs.flightphp.com
MIT License
2.62k
stars
409
forks
source link
Implement Cross Origin Resource Sharing
#406
Closed
aleferri
closed
4 years ago
aleferri
commented
4 years ago
added optional parameter cors_allowed to Flight::route
propagated this optional parameter to net\Route constructor
check before the dispatch of the selected route if the route allow cors, if so send the required headers before processing it
aleferri
commented
4 years ago
Will redo it better in a moment