webodf / ViewerJS

ViewerJS: Document Reader in JavaScript
http://viewerjs.org
1.94k stars 421 forks source link

Content must be served over HTTPS #182

Open spoonknife22 opened 8 years ago

spoonknife22 commented 8 years ago

I am trying to embed pdf's but no matter how I try to serve the request over https it will automatically change it to http. Example: https://example.com/ViewerJS/#../file.pdf - This request will be canceled and the http request will go through and I will receive the above error.

Is this something that ViewerJS is doing? If so how can I stop it from changing my url?

Any information would be greatly appreciated.