Skip to content

Commit

Permalink
add web middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
broskees committed Jan 26, 2024
1 parent f523362 commit 44492b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Roots/Acorn/Bootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ protected function bootHttp(ApplicationContract $app)
$app->make('router')
->any('{any?}', fn () => ob_get_clean())
->where('any', '.*')
->middleware('web')
->name('wordpress_request');

/** @var \Illuminate\Routing\Route $route */
Expand Down

0 comments on commit 44492b2

Please sign in to comment.