applicactions: fix applications:
This patch fix application configuration parsing. Peertube and Weblate can be started again.
This commit is contained in:
parent
f17fee4802
commit
c31b6e207c
1 changed files with 33 additions and 13 deletions
|
|
@ -22,7 +22,7 @@
|
|||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
from socket import getfqdn
|
||||
from typing import Annotated, Literal, TypeVar, cast
|
||||
from typing import Annotated, Any, Literal, TypeVar, cast
|
||||
|
||||
from pydantic import (
|
||||
AfterValidator,
|
||||
|
|
@ -384,6 +384,10 @@ class Settings(BaseSettings):
|
|||
email: EmailSettings = Field(default_factory=EmailSettings)
|
||||
tls: TLSSettings = Field(default_factory=TLSSettings)
|
||||
tor: TorSettings = Field(default_factory=TorSettings)
|
||||
application: dict[str, dict[str, str]] = Field(
|
||||
default_factory=dict,
|
||||
description="Application specific settings, used by app manager."
|
||||
)
|
||||
plugin: dict = Field(default_factory=dict, description="Plugin specific settings.")
|
||||
component: dict = Field(
|
||||
default_factory=dict, description="Component specific settings."
|
||||
|
|
|
|||
Loading…
Reference in a new issue