From 94dcc6a626ed1d0dcf6416f09d89e7d62041be8c Mon Sep 17 00:00:00 2001 From: AgentHagu Date: Fri, 30 May 2025 22:57:46 +0800 Subject: [PATCH 1/2] Update KaTeX font folder destination path --- packages/core/src/Site/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Site/index.ts b/packages/core/src/Site/index.ts index 4d1de19af8..64d615b06b 100644 --- a/packages/core/src/Site/index.ts +++ b/packages/core/src/Site/index.ts @@ -1276,7 +1276,7 @@ export class Site { const copyFontsDir = dirsToCopy.map((dir) => { const srcPath = path.join(coreWebRootPath, 'dist', dir); - const destPath = path.join(this.siteAssetsDestPath, 'css', dir); + const destPath = path.join(this.siteAssetsDestPath, '', dir); return fs.copy(srcPath, destPath); }); From f8b600d20c4219c3ee76d253f392ca7b99cb3270 Mon Sep 17 00:00:00 2001 From: AgentHagu Date: Fri, 30 May 2025 23:21:26 +0800 Subject: [PATCH 2/2] Remove redundant empty string --- packages/core/src/Site/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Site/index.ts b/packages/core/src/Site/index.ts index 64d615b06b..f91c846466 100644 --- a/packages/core/src/Site/index.ts +++ b/packages/core/src/Site/index.ts @@ -1276,7 +1276,7 @@ export class Site { const copyFontsDir = dirsToCopy.map((dir) => { const srcPath = path.join(coreWebRootPath, 'dist', dir); - const destPath = path.join(this.siteAssetsDestPath, '', dir); + const destPath = path.join(this.siteAssetsDestPath, dir); return fs.copy(srcPath, destPath); });