pixelfed/app/Http/Middleware/VerifyCsrfToken.php

18 lines
316 B
PHP
Raw Permalink Normal View History

2018-04-15 23:56:48 +00:00
<?php
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
*/
protected $except = [
2019-09-27 04:43:16 +00:00
'/api/v1/*'
2018-04-15 23:56:48 +00:00
];
}