mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
server: Show absolute path to data dir
This commit is contained in:
parent
16073ea4aa
commit
c61f76f020
@ -1,5 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
import path from "path";
|
||||||
import build from "./build.js";
|
import build from "./build.js";
|
||||||
import packageJson from "../../package.json" with { type: "json" };
|
import packageJson from "../../package.json" with { type: "json" };
|
||||||
import dataDir from "./data_dir.js";
|
import dataDir from "./data_dir.js";
|
||||||
@ -15,7 +16,7 @@ export default {
|
|||||||
syncVersion: SYNC_VERSION,
|
syncVersion: SYNC_VERSION,
|
||||||
buildDate: build.buildDate,
|
buildDate: build.buildDate,
|
||||||
buildRevision: build.buildRevision,
|
buildRevision: build.buildRevision,
|
||||||
dataDirectory: dataDir.TRILIUM_DATA_DIR,
|
dataDirectory: path.resolve(dataDir.TRILIUM_DATA_DIR),
|
||||||
clipperProtocolVersion: CLIPPER_PROTOCOL_VERSION,
|
clipperProtocolVersion: CLIPPER_PROTOCOL_VERSION,
|
||||||
utcDateTime: new Date().toISOString() // for timezone inference
|
utcDateTime: new Date().toISOString() // for timezone inference
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user