fix: #776
This commit is contained in:
1 parent
ae02bb20c6
commit
289d44e75b
3 files changed
+7
-1
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user