validate proxy.extra_routes

- add trailing slash if missing, and warn
- raise if leading slash is wrong (must not be present with host routing, must be present otherwise)
This commit is contained in:
Min RK
2022-07-08 09:42:47 -07:00
parent 8a44748324
commit c289a422c3
4 changed files with 149 additions and 13 deletions

View File

@@ -2,6 +2,8 @@
# 1. start/stop servers, and
# 2. access the server API
c = get_config() # noqa
c.JupyterHub.load_roles = [
{
"name": "launcher",