allow any origins to pass request to skyvern backend by default; make the ALLOWED_ORIGINS configurable through environment (#543)

This commit is contained in:
Shuchang Zheng
2024-07-03 13:36:17 -07:00
committed by GitHub
parent 52a13280f3
commit 4a9b89f54f
2 changed files with 2 additions and 11 deletions

View File

@@ -31,6 +31,7 @@ class Settings(BaseSettings):
JSON_LOGGING: bool = False
LOG_LEVEL: str = "INFO"
PORT: int = 8000
ALLOWED_ORIGINS: list[str] = ["*"]
# Secret key for JWT. Please generate your own secret key in production
SECRET_KEY: str = "RX1NvhujcJqBPi8O78-7aSfJEWuT86-fll4CzKc_uek"