This commit is contained in:
ct
2025-06-13 09:56:02 +08:00
parent 2fd4d42aec
commit 7ffa3d9ca0
5 changed files with 246 additions and 2 deletions

View File

@@ -31,6 +31,11 @@
]);
$middleware->statefulApi();
$middleware->alias([
'cacheResponse' => \Spatie\ResponseCache\Middlewares\CacheResponse::class,
'doNotCacheResponse' => \Spatie\ResponseCache\Middlewares\DoNotCacheResponse::class,
]);
})
->withExceptions(function (Exceptions $exceptions) {
//