服务器配置

This commit is contained in:
tianmo committed 2026-10-17 16:09:31 +08:00
1 parent a1b4a63552
commit fa7c8244b0
33 files changed
+1882 -363

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ export const VIDEO_EXTENSIONS = [
'mpeg'
] as const
export type VideoExtension = (typeof VIDEO_EXTENSIONS)[number]
/** 文件床直链缓存:公开访问可长期缓存,Token 访问不能进共享缓存 */
export const FILE_CACHE_CONTROL
= 'public, max-age=86400, s-maxage=604800, stale-while-revalidate=86400'