Spaces:
Running
Running
Download app/Http/Middleware/VerifyCsrfToken.php from lisatthu35/ewa: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Http/Middleware/VerifyCsrfToken.php
- Command line
-
hf download hf://spaces/lisatthu35/ewa/app/Http/Middleware/VerifyCsrfToken.php
-
curl -L -o VerifyCsrfToken.php https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Http/Middleware/VerifyCsrfToken.php
347 Bytes
| namespace App\Http\Middleware; | |
| use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; | |
| class VerifyCsrfToken extends Middleware | |
| { | |
| /** | |
| * The URIs that should be excluded from CSRF verification. | |
| * | |
| * @var array<int, string> | |
| */ | |
| protected $except = [ | |
| '/github-webhook', | |
| '/api/*' | |
| ]; | |
| } | |