mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
in web version use local client time instead of server time for recording dateModified etc.
This commit is contained in:
@@ -8,6 +8,7 @@ function getHeaders(headers) {
|
||||
// also avoiding using underscores instead of dashes since nginx filters them out by default
|
||||
const allHeaders = {
|
||||
'trilium-source-id': glob.sourceId,
|
||||
'trilium-local-now-datetime': utils.localNowDateTime(),
|
||||
'x-csrf-token': glob.csrfToken
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user