mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
fix missing doc resources for launchers, closes #3455
This commit is contained in:
@@ -10,6 +10,7 @@ const utils = require('../services/utils');
|
||||
const protectedSessionService = require("../services/protected_session");
|
||||
const packageJson = require('../../package.json');
|
||||
const assetPath = require("../services/asset_path");
|
||||
const appPath = require("../services/app_path");
|
||||
|
||||
function index(req, res) {
|
||||
const options = optionService.getOptionsMap();
|
||||
@@ -38,7 +39,8 @@ function index(req, res) {
|
||||
isProtectedSessionAvailable: protectedSessionService.isProtectedSessionAvailable(),
|
||||
maxContentWidth: parseInt(options.maxContentWidth),
|
||||
triliumVersion: packageJson.version,
|
||||
assetPath: assetPath
|
||||
assetPath: assetPath,
|
||||
appPath: appPath
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user