Browse Source

Update csrf middleware

Daniel Supernault 5 năm trước cách đây
mục cha
commit
db3b873a50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Middleware/VerifyCsrfToken.php

+ 1 - 1
app/Http/Middleware/VerifyCsrfToken.php

@@ -12,6 +12,6 @@ class VerifyCsrfToken extends Middleware
      * @var array
      */
     protected $except = [
-        //
+        '/api/v1/*'
     ];
 }