haystack / nb

13 stars 10 forks source link

Remove `.pdf` from default URL #287

Closed casillasenrique closed 9 months ago

casillasenrique commented 9 months ago

Previous code for loading the PDF into the pdf viewer set the URL as "uploads/" + urlParams.get('id') but new one adds the ".pdf" extension, which seemingly is causing a 404 error:

image