Skip to content

Commit

Permalink
Update ncml.js
Browse files Browse the repository at this point in the history
Try fix from video previewer
  • Loading branch information
qqmyers authored Feb 18, 2025
1 parent 1ab534f commit 52b78f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions previewers/betatest/js/ncml.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function translateBaseHtmlPage() {

function writeContent(fileUrl, file, title, authors) {
addStandardPreviewHeader(file, title, authors);
const queryParams = new URLSearchParams(window.location.search.substring(1));
var ncmlUrl = queryParams.get("siteUrl") + "/api/access/datafile/" + queryParams.get("fileid") + "/auxiliary/NcML/0.1";
// copied from text.js
var whiteList = {
Expand Down

0 comments on commit 52b78f4

Please sign in to comment.