Skip to content

Commit 83a43e9

Browse files
committed
& to ? for initial urls
1 parent 7da073e commit 83a43e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/CaMic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class CaMic {
168168
}
169169
const data = x[0];
170170
// check the slide on service side
171-
let checkSlideUrl = '../../img/IIP/raw/&DeepZoom='+ data['location'] + '.dzi';
171+
let checkSlideUrl = '../../img/IIP/raw/?DeepZoom='+ data['location'] + '.dzi';
172172
if (getCookie('token')) {
173173
checkSlideUrl = '../../img/IIP/raw/?token=' + getCookie('token') + '&DeepZoom='+ data['location'] + '.dzi';
174174
}
@@ -197,7 +197,7 @@ class CaMic {
197197

198198
this.slideName = data['name'];
199199
// insert token if present
200-
let openSlideUrl = '../../img/IIP/raw/&DeepZoom='+ data['location'] + '.dzi';
200+
let openSlideUrl = '../../img/IIP/raw/?DeepZoom='+ data['location'] + '.dzi';
201201
if (getCookie('token')) {
202202
openSlideUrl = '../../img/IIP/raw/?token=' + getCookie('token') + '&DeepZoom='+ data['location'] + '.dzi';
203203
}

0 commit comments

Comments
 (0)