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(
294294 else :
295295 requests_pathname_prefix = "/"
296296
297+ routes_pathname_prefix = app .config .get ("routes_pathname_prefix" , "/" )
298+
297299 # FIXME Move config initialization to main dash __init__
298300 # low-level setter to circumvent Dash's config locking
299301 # normally it's unsafe to alter requests_pathname_prefix this late, but
@@ -355,7 +357,7 @@ def run():
355357 self ._servers [(host , port )] = server
356358
357359 # 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 } "
359361
360362 def _get_error ():
361363 try :
You can’t perform that action at this time.
0 commit comments