This commit is contained in:
Baobhan Sith
2025-05-28 11:49:41 +08:00
parent 72383f564c
commit acef4daf99
2 changed files with 4 additions and 1 deletions
@@ -7,7 +7,7 @@ import axios from 'axios';
import sanitize from 'sanitize-filename'; // 用于清理文件名
// 预设 HTML 主题的存储路径 (作为只读预设)
const PRESET_HTML_THEMES_DIR = path.join(__dirname, '../../html-presets/'); // 原 HTML_PRESETS_DIR
const PRESET_HTML_THEMES_DIR = path.join(__dirname, '../../html-presets/');
const USER_CUSTOM_HTML_THEMES_DIR = path.join(__dirname, '../../data/custom_html_theme/');
@@ -657,3 +657,4 @@ export const getRemoteHtmlPresetContent = async (fileUrl: string): Promise<strin
}
};