]> git.localhorst.tv Git - alttp.git/commitdiff
exclude twitch endpoint from csrf
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 12 Mar 2024 14:42:56 +0000 (15:42 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 12 Mar 2024 14:42:56 +0000 (15:42 +0100)
app/Http/Middleware/VerifyCsrfToken.php

index c06c06b92ac5bf9482c3b9df91722791d1950836..a6e33e50ddf0bb57f56710b9fcdcbebcbf3526a4 100644 (file)
@@ -12,6 +12,6 @@ class VerifyCsrfToken extends Middleware
      * @var array<int, string>
      */
     protected $except = [
-               'api/aos-generate',
+               'twitch/*',
     ];
 }