diff --git a/layouts/shortcodes/embed-pdf.html b/layouts/shortcodes/embed-pdf.html index beb9ad5..eafdbb6 100644 --- a/layouts/shortcodes/embed-pdf.html +++ b/layouts/shortcodes/embed-pdf.html @@ -62,7 +62,7 @@ window.onload = function() { // If absolute URL from the remote server is provided, configure the CORS // header on that server. -var url = "{{.Site.BaseURL}}" + '{{ .Get "url" }}'; +var url = "https://florencekelley.northwestern.edu" + '{{ .Get "url" }}'; var hidePaginator = "{{ .Get "hidePaginator" }}" === "true"; var hideLoader = "{{ .Get "hideLoader" }}" === "true"; @@ -72,7 +72,7 @@ var pdfjsLib = window['pdfjs-dist/build/pdf']; // The workerSrc property shall be specified. -pdfjsLib.GlobalWorkerOptions.workerSrc = "{{.Site.BaseURL}}" + '/js/pdf-js/build/pdf.worker.js'; +pdfjsLib.GlobalWorkerOptions.workerSrc = "https://florencekelley.northwestern.edu" + '/js/pdf-js/build/pdf.worker.js'; // Change the Scale value for lower or higher resolution. var pdfDoc = null,