mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Merge pull request #1854 from summerswallow-whi/extra_handler
Add custom handlers and allow setting of defaults
This commit is contained in:
@@ -428,6 +428,8 @@ class BaseHandler(RequestHandler):
|
||||
self.log.warning("Redirecting %s to %s. For sharing public links, use /user-redirect/",
|
||||
self.request.uri, next_url,
|
||||
)
|
||||
if not next_url and self.config.JupyterHub.get('default_url'):
|
||||
next_url = self.config.JupyterHub['default_url']
|
||||
|
||||
if not next_url:
|
||||
# default URL after login
|
||||
|
Reference in New Issue
Block a user