Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit c59a589

Browse files
committed
save host/port in kwargs
1 parent 37740df commit c59a589

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jupyter_dash/jupyter_app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ def run_server(
126126
host = kwargs.get("host", os.getenv("HOST", "127.0.0.1"))
127127
port = kwargs.get("port", os.getenv("PORT", "8050"))
128128

129+
kwargs['host'] = host
130+
kwargs['port'] = port
131+
129132
# Validate / infer display mode
130133
valid_display_values = ["jupyterlab", "inline", "external"]
131134

0 commit comments

Comments
 (0)