lundi 13 février 2017

laravel 5.3 api cors middlware

Vote count: 0

I just installed a package for handling cors its barryvdh/laravel-cors

and Im having problem using it; I did everything in the link above :

  • I added config/cors.php,
  • I typed $ php artisan vendor:publish --provider="Barryvdh\Cors\ServiceProvider" I got Publishing complete for tag []!

  • I added thing to config/app as said, I added the middlware to app/http/kernel.php but I got error Class Barryvdh\Cors\Middleware\HandleCors does not exist

asked 41 secs ago

Let's block ads! (Why?)



laravel 5.3 api cors middlware

Aucun commentaire:

Enregistrer un commentaire