fix: don't require a secret for http handler
lol
This commit is contained in:
parent
6cd2a401e8
commit
1bb823e63e
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ def read_config(path: str | None) -> Config:
|
|||
# fill default secrets
|
||||
for domain in c.domains:
|
||||
info = c.domains[domain]
|
||||
if info.secret is None:
|
||||
if info.secret is None and info.handler != "http":
|
||||
if info.handler not in secrets:
|
||||
raise KeyError(f'"{info.handler}" not in secrets')
|
||||
info.secret = secrets[info.handler]
|
||||
|
|
Loading…
Reference in a new issue