Add s3-insecure to pydantic checker

This commit is contained in:
Rob 2023-11-25 08:19:23 +09:00
parent b031880e41
commit c4476bcf71

View file

@ -28,7 +28,7 @@ class ImplicitHostname(AnyUrl):
class MediaBackendUrl(AnyUrl):
host_required = False
allowed_schemes = {"s3", "gs", "local"}
allowed_schemes = {"s3", "s3-insecure", "gs", "local"}
def as_bool(v: str | list[str] | None):