2024-05-24 19:40:36 +05:30
|
|
|
<?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<int, string>
|
|
|
|
|
*/
|
2024-07-03 11:24:01 +05:30
|
|
|
protected $except = [
|
2024-07-03 15:30:53 +05:30
|
|
|
'stripe/webhook',
|
2024-07-03 16:40:04 +05:30
|
|
|
'stripe-webhooks',
|
|
|
|
|
'/stripe/webhook',
|
|
|
|
|
'/stripe-webhooks'
|
2024-07-03 11:24:01 +05:30
|
|
|
];
|
2024-05-24 19:40:36 +05:30
|
|
|
}
|