Skip to content

Commit

Permalink
earlier url set
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Nov 9, 2022
1 parent 57a525e commit f4ac6d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/CaMic.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ class CaMic {
let checkSlideUrl = '../../img/IIP/raw/?DeepZoom='+ data['location'] + '.dzi';
if (getCookie('token')) {
checkSlideUrl = '../../img/IIP/raw/?token=' + getCookie('token') + '&DeepZoom='+ data['location'] + '.dzi';
data.url = checkSlideUrl;
}
fetch(checkSlideUrl, {credentials: 'include'}).then((z)=>{
if (true) {
Expand Down Expand Up @@ -223,7 +222,7 @@ class CaMic {
});

imagingHelper.setMaxZoom(1);
data.url = '../../img/IIP/raw/?DeepZoom='+ data['location'] + '.dzi';
data.url = openSlideUrl;
data.slide = this.slideId;
if (func && typeof func === 'function') func.call(null, data);
Loading.text.textContent = `Loading Slide's Tiles...`;
Expand Down

0 comments on commit f4ac6d8

Please sign in to comment.