Explorar o código

Update Http Kernel

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
715166fc67
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Http/Kernel.php

+ 1 - 0
app/Http/Kernel.php

@@ -40,6 +40,7 @@ class Kernel extends HttpKernel
         'api' => [
             'throttle:60,1',
             'bindings',
+            \Barryvdh\Cors\HandleCors::class,
         ],
     ];