Skip to content

Commit

Permalink
Merge pull request #523 from thewtex/viewer-cid
Browse files Browse the repository at this point in the history
Viewer cid
  • Loading branch information
thewtex authored Sep 20, 2022
2 parents d4028e2 + eae7dd9 commit e0c9c18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions itkwidgets/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ async def run(self, ctx):
if ui == "pydata-sphinx":
config = {
"uiMachineOptions": {
"href": "https://cdn.jsdelivr.net/npm/itk-viewer-bootstrap-ui@0/dist/bootstrapUIMachineOptions.js.es.js",
"href": "https://cdn.jsdelivr.net/npm/itk-viewer-bootstrap-ui@0.10.3/dist/bootstrapUIMachineOptions.js.es.js",
"export": "default",
}
}
elif ui == "mui":
config = {
"uiMachineOptions": {
"href": "https://cdn.jsdelivr.net/npm/itk-viewer-material-ui@0/dist/materialUIMachineOptions.js.es.js",
"href": "https://cdn.jsdelivr.net/npm/itk-viewer-material-ui@0.3.0/dist/materialUIMachineOptions.js.es.js",
"export": "default",
}
}
Expand All @@ -89,7 +89,7 @@ async def run(self, ctx):
itk_viewer = await api.createWindow(
name=f"itkwidgets viewer {_viewer_count}",
type="itk-vtk-viewer",
src="https://kitware.github.io/itk-vtk-viewer/app",
src="https://bafybeihh34vpeoczdl3bu5wff3cvx35g2u3h3cbs6cmc3werg7drobr3ty.on.fleek.co/",
fullscreen=True,
data=self.init_data,
# config should be a python data dictionary and can't be a string e.g. 'pydata-sphinx',
Expand Down

0 comments on commit e0c9c18

Please sign in to comment.