File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " vitessce"
7- version = " 3.5.6 "
7+ version = " 3.5.7 "
88authors = [
99 {
name =
" Mark Keller" ,
email =
" [email protected] " },
1010]
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def get_uid_str(uid):
163163const { createRoot } = await importWithMap("react-dom/client", importMap);
164164
165165const e = React.createElement;
166- const WORKSPACES_URL_KEYWORD = 'https://workspaces-pt'
166+ const WORKSPACES_URL_KEYWORD = 'https://workspaces-pt';
167167const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
168168// The jupyter server may be running through a proxy,
169169// which means that the client needs to prepend the part of the URL before /proxy/8000 such as
@@ -198,7 +198,10 @@ def get_uid_str(uid):
198198 ...d,
199199 files: d.files.map(f => ({
200200 ...f,
201- url: `${origin}${baseUrl}${f.url}`,
201+ url: (!(f.url.startsWith('http://') || f.url.startsWith('https://'))
202+ ? `${origin}${baseUrl}${f.url}`
203+ : f.url
204+ ),
202205 })),
203206 })),
204207 };
You can’t perform that action at this time.
0 commit comments