support ALLOWED_HOSTS (#1905)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
@@ -40,6 +40,7 @@ class Settings(BaseSettings):
|
||||
PORT: int = 8000
|
||||
ALLOWED_ORIGINS: list[str] = ["*"]
|
||||
BLOCKED_HOSTS: list[str] = ["localhost"]
|
||||
ALLOWED_HOSTS: list[str] = []
|
||||
|
||||
# Secret key for JWT. Please generate your own secret key in production
|
||||
SECRET_KEY: str = "PLACEHOLDER"
|
||||
|
||||
Reference in New Issue
Block a user