mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
use trilium version number in asset paths to avoid caching issues WIP
This commit is contained in:
@@ -6,6 +6,7 @@ const shaca = require("./shaca/shaca");
|
||||
const shacaLoader = require("./shaca/shaca_loader");
|
||||
const shareRoot = require("./share_root");
|
||||
const contentRenderer = require("./content_renderer");
|
||||
const assetPath = require("../services/asset_path");
|
||||
|
||||
function getSharedSubTreeRoot(note) {
|
||||
if (note.noteId === shareRoot.SHARE_ROOT_NOTE_ID) {
|
||||
@@ -103,7 +104,8 @@ function register(router) {
|
||||
header,
|
||||
content,
|
||||
isEmpty,
|
||||
subRoot
|
||||
subRoot,
|
||||
assetPath
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user