Skip to content

Commit

Permalink
Kernel: Enable AddLinkHeadersForPreloadedAssets middleware
Browse files Browse the repository at this point in the history
This is automatically enabled when using breeze:install to instead
React with Intertia, I don't really see any downside in enabling
it.

See: laravel/framework#44096
  • Loading branch information
philbates35 committed Feb 28, 2024
1 parent cec68a2 commit 75b738d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Kernel extends HttpKernel
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets::class,
],

'api' => [
Expand Down

0 comments on commit 75b738d

Please sign in to comment.