From ae6048a6ea88246953a0fdcff1211d412643d449 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 23 Jul 2019 18:02:27 -0700 Subject: [PATCH] Changed order so CORS will still work if throttle hit --- app/Http/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 14fc378299..da3c5092b9 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -44,9 +44,9 @@ class Kernel extends HttpKernel ], 'api' => [ + \Barryvdh\Cors\HandleCors::class, 'throttle:120,1', 'auth:api', - \Barryvdh\Cors\HandleCors::class, ], ];