Commit
·
a2f8bcc
1
Parent(s):
9dfaae7
fix
Browse files- src/core/settings.py +1 -1
src/core/settings.py
CHANGED
|
@@ -83,7 +83,7 @@ class Settings(BaseSettings):
|
|
| 83 |
LOG_LEVEL: LogLevel = LogLevel.WARNING
|
| 84 |
|
| 85 |
AUTH_SECRET: SecretStr | None = None
|
| 86 |
-
CORS_ORIGINS: Annotated[
|
| 87 |
"http://localhost:3000",
|
| 88 |
"http://localhost:8081",
|
| 89 |
"http://localhost:5173",
|
|
|
|
| 83 |
LOG_LEVEL: LogLevel = LogLevel.WARNING
|
| 84 |
|
| 85 |
AUTH_SECRET: SecretStr | None = None
|
| 86 |
+
CORS_ORIGINS: Annotated[Any, BeforeValidator(lambda x: x.split(",") if isinstance(x, str) else x)] = [
|
| 87 |
"http://localhost:3000",
|
| 88 |
"http://localhost:8081",
|
| 89 |
"http://localhost:5173",
|