浏览代码

Update Http Kernel

Daniel Supernault 5 年之前
父节点
当前提交
715166fc67
共有 1 个文件被更改,包括 1 次插入0 次删除
  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,
         ],
     ];