File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,8 @@ def run_app(
294
294
else :
295
295
requests_pathname_prefix = "/"
296
296
297
+ routes_pathname_prefix = app .config .get ("routes_pathname_prefix" , "/" )
298
+
297
299
# FIXME Move config initialization to main dash __init__
298
300
# low-level setter to circumvent Dash's config locking
299
301
# normally it's unsafe to alter requests_pathname_prefix this late, but
@@ -355,7 +357,7 @@ def run():
355
357
self ._servers [(host , port )] = server
356
358
357
359
# Wait for server to start up
358
- alive_url = f"http://{ host } :{ port } { requests_pathname_prefix } _alive_{ JupyterDash .alive_token } "
360
+ alive_url = f"http://{ host } :{ port } { routes_pathname_prefix } _alive_{ JupyterDash .alive_token } "
359
361
360
362
def _get_error ():
361
363
try :
You can’t perform that action at this time.
0 commit comments