Open a9rkzz opened 6 years ago
Thanks for your pull-request, I will test and review this on the weekend! ⏰
@a9rkzz Could you resolve the merge conflicts that arose from my last commit on master
? That would be great. Also: what do you mean with non-root locations? Can you give an example on how I could test your changes? Thanks!
I should mention that non-root support for Paperless is sketchy at best. There's an on-going issue that hasn't been solved yet.
@a9rkzz I don't have time to maintain this project anymore, so I gave you commit access to make any changes you'd like. It would be nice to follow the style used by the rest of the code.
Additionally, older version of pdfjs for unknown reasons
Basically, simple change to allow non-root locations for paperless by introducing a getBaseHost() function. Currently powered with nothing but regex and hope, but it seems to work well enough