mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
fix problem with headers / source ids
This commit is contained in:
@@ -7,9 +7,11 @@ const server = (function() {
|
||||
}
|
||||
catch(e) {}
|
||||
|
||||
// headers need to be lowercase because node.js automatically converts them to lower case
|
||||
// so hypothetical protectedSessionId becomes protectedsessionid on the backend
|
||||
return {
|
||||
protected_session_id: protectedSessionId,
|
||||
sourceId: glob.sourceId
|
||||
source_id: glob.sourceId
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user