mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
even though trilium APIs are still exposed in electron, they require login if not called directly from electron
This commit is contained in:
@@ -7,6 +7,9 @@ function init(app) {
|
||||
req.method = arg.method;
|
||||
req.body = arg.data;
|
||||
req.headers = arg.headers;
|
||||
req.session = {
|
||||
loggedIn: true
|
||||
};
|
||||
|
||||
const res = {
|
||||
statusCode: 200
|
||||
|
||||
Reference in New Issue
Block a user