PDF.js PDF viewer

How To solve error “PDF.js v2.5.207 (build: 0974d6052)
Message: file origin does not match viewer’s” before i used http when i move to https i was found that error


You may want to try what is suggested here: Cannot view PDF file - #3 by azmi384

Also, in your posts, please include your OJS version number (e.g. 3.3.0-8), as this assists with others that may help you troubleshoot to identify appropriate solutions.

PKP Team

1 Like

hi @rcgillis
my ojs version is
I have read the issue, but I am still confused to change the url to https, what configuration file should I change so that the pdf file and the viewer are both https?