Skip to content

Commit

Permalink
removed http workaround -> default https
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Oct 19, 2023
1 parent 7bb0286 commit d812583
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions previewers/betatest/js/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ let entries;
async function readZip(fileUrl) {

try {
//Just a workaround, as current Dataverse delivers https links for localhost
if (fileUrl.startsWith('https://localhost')) {
fileUrl = fileUrl.replace('https://localhost', 'http://localhost');
}


const reader = new zip.ZipReader(new zip.HttpRangeReader(fileUrl, {forceRangeRequests: true}));

// get all entries from the zip
Expand Down

0 comments on commit d812583

Please sign in to comment.