mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
server side encryption WIP
This commit is contained in:
@@ -110,4 +110,15 @@ function showAppIfHidden() {
|
||||
// Kick off the CSS transition
|
||||
loaderDiv.style.opacity = 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initAjax() {
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'x-browser-id': browserId,
|
||||
'x-protected-session-id': encryption ? encryption.getProtectedSessionId() : null
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
initAjax();
|
||||
Reference in New Issue
Block a user