Skip to content

Instantly share code, notes, and snippets.

@vluzrmos
Last active August 29, 2015 14:19
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vluzrmos/1238a0c81bfd90853f58 to your computer and use it in GitHub Desktop.
Laravel Lumen CORS Middleware
@kiwina
Copy link

kiwina commented May 9, 2015

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??

@vluzrmos
Copy link
Author

@wigatana Did you register the middleware and service provider?

@vluzrmos
Copy link
Author

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