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 912717b commit 21e4280Copy full SHA for 21e4280
src/BoostServiceProvider.php
@@ -180,10 +180,6 @@ private static function mapJsTypeToPsr3Level(string $type): string
180
181
private function hookIntoResponses(Router $router): void
182
{
183
- // In Kernel-based apps (pre-Laravel 11 bootstrap), middleware groups can be
184
- // defined or overwritten later in the boot cycle, which could remove any
185
- // middleware we push here if we do it too early. Deferring this until the
186
- // application is fully booted ensures our middleware stays appended.
187
$this->app->booted(function () use ($router) {
188
$router->pushMiddlewareToGroup('web', InjectBoost::class);
189
});
0 commit comments