summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2024-06-16 22:28:33 +0100
committerSam Light <samlight1994@gmail.com>2024-06-16 22:28:33 +0100
commit5b13267594693a1fb1ed738235c338b275fbaf81 (patch)
tree2f1c6485bac1738c1cf43737d48c2d18d5ebff68
parent72c3ccd3028559f52905fdc99217a38046d9cb71 (diff)
Setup some config defaults for max_age
-rw-r--r--config/svg.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/svg.php b/config/svg.php
index 9e9c33d..13fd512 100644
--- a/config/svg.php
+++ b/config/svg.php
@@ -5,10 +5,12 @@ return [
'default_collection' => 'default',
'svg_route' => 'svg/{collection}.svg',
'cache_store' => env('SVG_CACHE_DRIVER', config('cache.default')),
+ 'default_max_age' => 60 * 60 * 24 * 90,
'collections' => [
'default' => [
'paths' => [],
+ 'max_age' => 60 * 60 * 24 * 90,
],
],