Allow larger requests: Unable to post/patch content in excess of 100kb #73
Replies: 4 comments 1 reply
-
I tried forking and tested some things myself. This might be a limitation of the obsidian api. Close if the LoE is too high here. |
Beta Was this translation helpful? Give feedback.
-
Neat -- I hadn't considered that ExpressJS might have a limit, but. I'm not sure, @sessionsdev, if you've tried making changes here: https://github.com/coddingtonbear/obsidian-local-rest-api/blob/main/src/requestHandler.ts#L51, but I'd be willing to review and merge a PR if you could make the fix increasing it to ~10MB. |
Beta Was this translation helpful? Give feedback.
-
Same problem |
Beta Was this translation helpful? Give feedback.
-
I just happened across the fix for this while working through a pull request review and increased the maximum incoming payload size to 1024MB (see 22cdd42). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Express JS has a default limit of 100kb for payload size. Can this be increased or made configurable by the user?
10mb is quite reasonable for this kind of app, imo.
Beta Was this translation helpful? Give feedback.
All reactions