use trilium version number in asset paths to avoid caching issues WIP

This commit is contained in:
zadam
2022-10-26 23:50:54 +02:00
parent 441a59305b
commit b499640db8
28 changed files with 124 additions and 83 deletions

View File

@@ -3,6 +3,7 @@
const sqlInit = require('../services/sql_init');
const setupService = require('../services/setup');
const utils = require('../services/utils');
const assetPath = require("../services/asset_path");
function setupPage(req, res) {
if (sqlInit.isDbInitialized()) {
@@ -28,7 +29,8 @@ function setupPage(req, res) {
}
res.render('setup', {
syncInProgress: syncInProgress
syncInProgress: syncInProgress,
assetPath: assetPath
});
}