mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 18:25:51 +01:00
load force-graph from node_modules
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user