Skip to content

Commit 96940cf

Browse files
authored
preserve default url in api example
1 parent 83e5cc6 commit 96940cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/binder-api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def build_binder(repo,
6767
elif opts.urlpath:
6868
url = "{url}{urlpath}?token={token}".format(**evt, urlpath=opts.urlpath)
6969
else:
70-
url = "{url}notebooks/?token={token}".format(**evt)
70+
url = "{url}?token={token}".format(**evt)
7171
print("Opening %s" % url)
7272
webbrowser.open(url)
7373
break

0 commit comments

Comments
 (0)