Please, use the package https://github.com/vluzrmos/lumen-cors.
Laravel Lumen CORS Middleware
@wigatana Did you register the middleware and service provider?
I released a package with that files: https://github.com/vluzrmos/lumen-cors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's what i missed out the service provider for options!! nice one made my day.
And wigatana did you register the middleware and service provider inside the bootstrap/app.php file??