Skip to content

Commit

Permalink
response cache part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Oct 3, 2023
1 parent 13a81e3 commit 3208a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Providers/FolioServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class FolioServiceProvider extends ServiceProvider
{
public function boot(): void
{
Folio::path(resource_path('views/pages'))->uri('/')->middleware([CacheResponse::class]);
Folio::path(resource_path('views/pages'))->uri('/')->middleware(['*' => [CacheResponse::class]]);
}
}

0 comments on commit 3208a4f

Please sign in to comment.