Start using HTTPS to access all archived files

This commit is contained in:
Jeff Parsons 2017-08-23 20:22:25 -07:00 committed by Jeff Parsons
commit 85a63ca1fd

View file

@ -52,7 +52,7 @@
if (i < 0) i = pdf.indexOf(' '); if (i < 0) i = pdf.indexOf(' ');
if (i > 0) pdf = pdf.substr(0, i); if (i > 0) pdf = pdf.substr(0, i);
var setPage = function(page) { var setPage = function(page) {
frame.setAttribute('src', 'http://archive.pcjs.org' + pdf + ' ' + curPage + '.pdf'); frame.setAttribute('src', 'https://s3-us-west-2.amazonaws.com/archive.pcjs.org' + pdf + ' ' + curPage + '.pdf');
}; };
setPage(curPage); setPage(curPage);
var buttonPrev = document.getElementById('prevPDF'); var buttonPrev = document.getElementById('prevPDF');