Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dash/_jupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ def run_app(
else:
requests_pathname_prefix = "/"

routes_pathname_prefix = app.config.get("routes_pathname_prefix", "/")

# FIXME Move config initialization to main dash __init__
# low-level setter to circumvent Dash's config locking
# normally it's unsafe to alter requests_pathname_prefix this late, but
Expand Down Expand Up @@ -355,7 +357,7 @@ def run():
self._servers[(host, port)] = server

# Wait for server to start up
alive_url = f"http://{host}:{port}{requests_pathname_prefix}_alive_{JupyterDash.alive_token}"
alive_url = f"http://{host}:{port}{routes_pathname_prefix}_alive_{JupyterDash.alive_token}"

def _get_error():
try:
Expand Down