Traefik config files are .toml

This commit is contained in:
GeorgianaElena
2020-06-02 19:09:19 +03:00
parent 8c14372356
commit acc1eea251
2 changed files with 2 additions and 2 deletions

View File

@@ -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