This commit is contained in:
bietiaop committed 2025-02-06 20:10:11 +08:00
1 parent ae02bb20c6
commit 289d44e75b
3 files changed
+7 -1

No files matched your search

-1
View File
@@ -47,7 +47,6 @@ export async function InitWebUi(logger: LogWrapper, pathWrapper: NapCatPathWrapp
// 如果是webui字体文件,挂载字体文件
app.use('/webui/fonts/AaCute.woff', async (_req, res, next) => {
const isFontExist = await WebUiConfigWrapper.CheckWebUIFontExist();
console.log(isFontExist, 'isFontExist');
if (isFontExist) {
res.sendFile(WebUiConfigWrapper.GetWebUIFontPath());
} else {