We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abfab7f commit fbe48d2Copy full SHA for fbe48d2
1 file changed
bootstrap/app.php
@@ -9,13 +9,15 @@
9
10
return Application::configure(basePath: dirname(__DIR__))
11
->withRouting(
12
- web: __DIR__.'/../routes/web.php',
13
- commands: __DIR__.'/../routes/console.php',
+ web: __DIR__ . '/../routes/web.php',
+ commands: __DIR__ . '/../routes/console.php',
14
health: '/up',
15
)
16
->withMiddleware(function (Middleware $middleware): void {
17
$middleware->encryptCookies(except: ['appearance', 'sidebar_state']);
18
- $middleware->validateCsrfTokens(except: ['paddle/*']);
+ $middleware->preventRequestForgery(except: [
19
+ 'paddle/*',
20
+ ]);
21
22
$middleware->web(append: [
23
HandleAppearance::class,
0 commit comments