refactor(highlightjs): move dependency

This commit is contained in:
Elian Doran
2025-05-18 00:20:43 +03:00
parent d4fab87ed9
commit 7bfe261ac6
6 changed files with 16 additions and 21 deletions

View File

@@ -90,8 +90,6 @@ async function register(app: express.Application) {
app.use(`/${assetPath}/node_modules/normalize.css/`, persistentCacheStatic(path.join(nodeModulesDir, "normalize.css/")));
app.use(`/${assetPath}/node_modules/jquery.fancytree/dist/`, persistentCacheStatic(path.join(nodeModulesDir, "jquery.fancytree/dist/")));
app.use(`/${assetPath}/node_modules/@highlightjs/cdn-assets/`, persistentCacheStatic(path.join(nodeModulesDir, "@highlightjs/cdn-assets/")));
}
export default {