更改优先级

This commit is contained in:
崮生(子虚) 2026-04-08 22:35:58 +08:00
parent 79ee7dd3f0
commit c74278cf2f

View File

@ -15,5 +15,5 @@ export const tempMaxFiles = parseInt(env.TEMP_MAX_FILES ?? "10", 10) || 10;
/** 临时上传目录总体积上限(字节),默认 200MB */
export const tempMaxTotalSize = parseInt(env.TEMP_MAX_TOTAL_SIZE ?? `${200 * 1024 * 1024}`, 10) || 200 * 1024 * 1024;
/** 字体搜索目录(按优先级排序 */
export const fontDirs = ["font", "font/temp", "font/admin"] as const;
/** 字体搜索目录(按优先级排序admin > 普通 > 临时 */
export const fontDirs = ["font/admin", "font", "font/temp"] as const;