mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
small refactorings
This commit is contained in:
@@ -13,7 +13,7 @@ const assetPath = require("../services/asset_path");
|
||||
const appPath = require("../services/app_path");
|
||||
|
||||
function index(req, res) {
|
||||
const options = optionService.getOptionsMap();
|
||||
const options = optionService.getOptionMap();
|
||||
|
||||
let view = (!utils.isElectron() && req.cookies['trilium-device'] === 'mobile')
|
||||
? 'mobile'
|
||||
|
||||
Reference in New Issue
Block a user