This commit is contained in:
krahets
2025-10-05 03:55:54 +08:00
parent 01d2c4efc2
commit b63de328e2
28 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -73,7 +73,7 @@
]
},
{
"source": "(/en|/zh-hant)?/chapter_(.+)/(.+).assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
"source": "(/en|/zh-hant)?/(chapter_(.+)/)?(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
"headers": [
{
"key": "Cache-Control",
@@ -82,11 +82,11 @@
]
},
{
"source": "(/en|/zh-hant)?/(index\\.)?assets/(hero/|covers/|avatar/)?(.+)\\.(png|jpg|svg|gif|webp)",
"source": "(/en|/zh-hant)?/assets/(hero|covers|avatar|)/(.+)\\.(png|jpg|svg|gif|webp|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
"value": "public, max-age=604800, immutable"
}
]
},