load force-graph from node_modules

This commit is contained in:
zadam
2023-11-22 20:02:35 +01:00
parent 258b97f833
commit 52cfd138d1
5 changed files with 501 additions and 7 deletions

View File

@@ -50,6 +50,7 @@ function register(app) {
persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/katex/dist/')));
app.use(`/${assetPath}/node_modules/dayjs/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/dayjs/')));
app.use(`/${assetPath}/node_modules/force-graph/dist/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/force-graph/dist/')));
}
module.exports = {