Pārlūkot izejas kodu

Update Http Kernel

Daniel Supernault 5 gadi atpakaļ
vecāks
revīzija
715166fc67
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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,
         ],
     ];