mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
17 lines
316 B
PHP
17 lines
316 B
PHP
<?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 = [
|
|
'/api/v1/*'
|
|
];
|
|
}
|