Make viewer.js's cross-origin check configurable
Make viewer.js's cross-origin check configurable

viewer.js contains a cross-origin check against the array
HOSTED_VIEWER_ORIGINS. If the viewer's origin is not contained in
HOSTED_VIEWER_ORIGINS an error is thrown when attempting to load a PDF
from a remote host.

NetsoftHoldings/pdfjs_viewer-rails,NetsoftHoldings/pdfjs_viewer-rails,NetsoftHoldings/pdfjs_viewer-rails