Skip to content

Commit a773bdb

Browse files
authored
Merge pull request #35 from martinRenou/revert_link_fix
Revert link fix
2 parents 506d16e + 92cf9d6 commit a773bdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jupyterlite_sphinx.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def html(self):
6666
options = "&".join([f"{key}={value}" for key, value in replite_options.items()])
6767

6868
return (
69-
f'<iframe src="/{JUPYTERLITE_DIR}/repl/index.html?{options}"'
69+
f'<iframe src="{JUPYTERLITE_DIR}/repl/index.html?{options}"'
7070
f'width="{self["width"]}" height="{self["height"]}" style="{IFRAME_STYLE}"></iframe>'
7171
)
7272

@@ -117,9 +117,9 @@ def html(self):
117117
notebook = self["notebook"]
118118

119119
src = (
120-
f"/{JUPYTERLITE_DIR}/{self.lite_app}/{self.notebooks_path}?path={notebook}"
120+
f"{JUPYTERLITE_DIR}/{self.lite_app}/{self.notebooks_path}?path={notebook}"
121121
if notebook is not None
122-
else f"/{JUPYTERLITE_DIR}/{self.lite_app}"
122+
else f"{JUPYTERLITE_DIR}/{self.lite_app}"
123123
)
124124

125125
return (

0 commit comments

Comments
 (0)