refactor(config): use correct data type for server-cors-allowed-origins

Replaces the `Maybe [Text]` with `[Text]`. The `Maybe` is unnecessary
because we handle `Just []` and `Nothing` the same way.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-06-09 12:35:47 +00:00
committed by Wolfgang Walther
parent 044d623424
commit 21433d10c2
5 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -1642,7 +1642,7 @@ def test_preflight_request_with_cors_allowed_origin_config(defaultenv):
def test_preflight_request_with_empty_cors_allowed_origin_config(defaultenv):
"OPTIONS preflight request should allow all origins when config is present but empty"
"OPTIONS preflight request should allow all origins when config is not set or empty"
env = {
**defaultenv,