Skip to content

Commit c95ab01

Browse files
author
Mark Gibbs
committed
Unwind attempt to use proxy in jupyterhub, at least for now
1 parent 9dafb2c commit c95ab01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_plotly_dash/dash_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ def get_base_pathname(self, specific_identifier, stub=None):
8383
try:
8484
full_url = reverse(app_pathname,kwargs={'id':ndid})
8585
except:
86-
if stub:
86+
if stub is not None:
8787
full_url = "%s/%s/" %(stub,ndid)
8888
else:
89-
full_url = ndid
89+
full_url = "/%s/"%ndid
9090

9191
return ndid, full_url
9292

0 commit comments

Comments
 (0)