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
@@ -146,7 +146,7 @@ baseCfg = let secret = encodeUtf8 "reallyreallyreallyreallyverysafe" in
, configOpenApiMode = OAFollowPriv
, configOpenApiSecurityActive = False
, configOpenApiServerProxyUri = Nothing
, configServerCorsAllowedOrigins = Nothing
, configServerCorsAllowedOrigins = []
, configServerHost = "localhost"
, configServerPort = 3000
, configServerTraceHeader = Nothing