Skip to content

Commit fbe48d2

Browse files
committed
paddle
1 parent abfab7f commit fbe48d2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

bootstrap/app.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99

1010
return Application::configure(basePath: dirname(__DIR__))
1111
->withRouting(
12-
web: __DIR__.'/../routes/web.php',
13-
commands: __DIR__.'/../routes/console.php',
12+
web: __DIR__ . '/../routes/web.php',
13+
commands: __DIR__ . '/../routes/console.php',
1414
health: '/up',
1515
)
1616
->withMiddleware(function (Middleware $middleware): void {
1717
$middleware->encryptCookies(except: ['appearance', 'sidebar_state']);
18-
$middleware->validateCsrfTokens(except: ['paddle/*']);
18+
$middleware->preventRequestForgery(except: [
19+
'paddle/*',
20+
]);
1921

2022
$middleware->web(append: [
2123
HandleAppearance::class,

0 commit comments

Comments
 (0)