mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Traefik config files are .toml
This commit is contained in:
@@ -81,7 +81,7 @@ def compute_basic_auth(username, password):
|
||||
return username + ":" + hashed_password
|
||||
|
||||
def load_extra_config(std_toml, extra_config_dir):
|
||||
extra_configs = sorted(glob(os.path.join(extra_config_dir, '*.py')))
|
||||
extra_configs = sorted(glob(os.path.join(extra_config_dir, '*.toml')))
|
||||
# Load the toml list of files into dicts and merge them
|
||||
config = toml.load([std_toml] + extra_configs)
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user