mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 07:10:59 +00:00
Add s3-insecure to pydantic checker (#665)
This commit is contained in:
parent
b031880e41
commit
1a728ea023
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class ImplicitHostname(AnyUrl):
|
||||||
|
|
||||||
class MediaBackendUrl(AnyUrl):
|
class MediaBackendUrl(AnyUrl):
|
||||||
host_required = False
|
host_required = False
|
||||||
allowed_schemes = {"s3", "gs", "local"}
|
allowed_schemes = {"s3", "s3-insecure", "gs", "local"}
|
||||||
|
|
||||||
|
|
||||||
def as_bool(v: str | list[str] | None):
|
def as_bool(v: str | list[str] | None):
|
||||||
|
|
Loading…
Reference in a new issue