How to display PDFs from external servers seems to be a not uncommon problem. So this should be documented on viewerjs.org in some way.