File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 88from jupyterhub .spawner import SimpleLocalProcessSpawner
99
1010
11- c .JupyterHub .spawner_class = SimpleLocalProcessSpawner
12-
1311HERE = pathlib .Path (__file__ ).parent
1412
13+ # Add templates from our local checkout to the path JupyterHub searches
14+ # This allows us to override any template present in upstream
15+ # jupyterhub (https://github.com/jupyterhub/jupyterhub/tree/main/share/jupyterhub/templates)
16+ # locally
1517c .JupyterHub .template_paths = [str (HERE / 'templates' )]
1618
19+ # We use this so we can get a 'login' button, instead of a username / password
20+ # field.
1721c .JupyterHub .authenticator_class = GenericOAuthenticator
1822
19- c .Authenticator .admin_users = [
20- 'yuvipanda'
21- ]
22-
23+ # Variables that are passed through to templates!
2324c .JupyterHub .template_vars = {
2425 'custom' : {
2526 "interface_selector" : True ,
You can’t perform that action at this time.
0 commit comments