mirror of
https://github.com/2234839/web-font.git
synced 2026-06-05 00:48:14 +08:00
更改优先级
This commit is contained in:
parent
79ee7dd3f0
commit
c74278cf2f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user