增加网站配置

This commit is contained in:
qaq
2025-07-24 17:21:09 +08:00
parent ecda75bf08
commit 31e9ee621f
4 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export const getCachedConfig = async (key: string): Promise<string | null> => {
// 获取所有配置(优先从缓存)
export const getCachedConfigs = async (): Promise<Record<string, string>> => {
// 尝试从缓存获取所有配置
const configKeys = ['app_name', 'site_title', 'site_description', 'contact_email', 'footer_text', 'logo_url'];
const configKeys = ['app_name'];
const cachedConfigs: Record<string, string> = {};
let hasCachedData = false;