Skip to content

Commit

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

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

0 comments on commit e6ccc87

Please sign in to comment.