Add a middleware for handling cross domain requests with type "rest"
jarnix opened this issue · comments
OPTIONS requests for "rest" routes are getting routed in the controllers (Router is looking for an "optionsAction" method obviously) so we need a (built-in) middleware for handling OPTIONS requests, using the config.ini for cross-domain configuration.
done
e8c104a
Every response must include the CORS headers
fixed