Skip to content

Commit e413920

Browse files
committed
Prefer to use attribute over internal variable
1 parent b624e84 commit e413920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo2docker/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def start_container(self):
625625
"notebook",
626626
"--ip=0.0.0.0",
627627
f"--port={container_port}",
628-
f"--ServerApp.custom_display_url=http://{host_name}:{host_port}",
628+
f"--ServerApp.custom_display_url=http://{self.hostname}:{self.port}",
629629
"--ServerApp.default_url=/lab",
630630
]
631631
else:

0 commit comments

Comments
 (0)