mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 13:03:01 +00:00
remove stopped users from proxy on startup
We already added running users, but we didn't handle removing users from the proxy if the user's server was stopped (e.g. while the Hub was restarting).
This commit is contained in:
@@ -161,9 +161,9 @@ class User(HasTraits):
|
||||
@property
|
||||
def proxy_path(self):
|
||||
if self.settings.get('subdomain_host'):
|
||||
return url_path_join('/' + self.domain, self.server.base_url)
|
||||
return url_path_join('/' + self.domain, self.base_url)
|
||||
else:
|
||||
return self.server.base_url
|
||||
return self.base_url
|
||||
|
||||
@property
|
||||
def domain(self):
|
||||
|
Reference in New Issue
Block a user