mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 07:45:22 +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/*'
|
|
];
|
|
}
|