From 2aa89724f74a1c6fd9e801217cbdd667320c4499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20L=C3=B3pez=20Dato?= Date: Wed, 22 Jan 2025 13:29:01 -0300 Subject: [PATCH 1/2] Silence warning when rendering default config --- src/edge_proxy/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edge_proxy/settings.py b/src/edge_proxy/settings.py index c23f017..5276bdf 100644 --- a/src/edge_proxy/settings.py +++ b/src/edge_proxy/settings.py @@ -113,7 +113,7 @@ class AppSettings(BaseModel): ) ] ) - api_url: HttpUrl = "https://edge.api.flagsmith.com/api/v1" + api_url: HttpUrl = HttpUrl("https://edge.api.flagsmith.com/api/v1") api_poll_frequency_seconds: int = Field( default=10, validation_alias=AliasChoices( From 8e991384fc780d1923db1ffe5a5b782d14e75be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20L=C3=B3pez=20Dato?= Date: Wed, 22 Jan 2025 13:32:03 -0300 Subject: [PATCH 2/2] Improve edge-proxy-render-config readme wording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c589a2..bec76e7 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Create an example configuration by running the `edge-proxy-render-config` entryp rye run edge-proxy-render-config ``` -This will output the example configuration to stdout and write it to `./config.json`. +This will write the default settings to `./config.json`. Here's how to mount the file into Edge Proxy's Docker container: