From bb7e2cd7f3d8742c24877ad6ebcf50142f924fef Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Sat, 12 Feb 2022 13:18:49 +0100 Subject: [PATCH] set upstream to optional --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index 12af111..6d0a199 100644 --- a/backend/config.py +++ b/backend/config.py @@ -42,7 +42,7 @@ proxy_server = os.environ.get("PROXY_SERVER") class ProxyCreateLink(pydantic.BaseModel): - upstream: pydantic.HttpUrl + upstream: Optional[pydantic.HttpUrl] ctype: Optional[pydantic.StrictStr] region: Optional[pydantic.StrictStr]