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 gotPublishing 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
laravel 5.3 api cors middlware
Aucun commentaire:
Enregistrer un commentaire