silverbulletmd / silverbullet

The knowledge tinkerer's notebook
https://silverbullet.md
MIT License
2.59k stars 189 forks source link

Fix passing URL parameters when proxying #1168

Open nightscape opened 1 day ago

nightscape commented 1 day ago

@zefhemel my Readwise plug needs to use paging in order to get all pages from Readwise. Readwise's paging is implemented by passing a ?page=2 URL parameter, which before this PR did not make it through the proxy. This PR reads the URL params in the proxy route and appends it to the outgoing request URL.