21 lines
385 B
PHP
21 lines
385 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Middleware;
|
||
|
|
||
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
||
|
|
||
|
class VerifyCsrfToken extends BaseVerifier
|
||
|
{
|
||
|
/**
|
||
|
* The URIs that should be excluded from CSRF verification.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $except = [
|
||
|
'api/token',
|
||
|
'api/post',
|
||
|
'webmention',
|
||
|
'places/new',
|
||
|
];
|
||
|
}
|