forked from spacebar/SplatNet-Backend
Attempt to mitigate errors w/ HTTPS
This commit is contained in:
parent
8f7e705092
commit
f5249ae489
4 changed files with 15 additions and 20 deletions
|
|
@ -5,14 +5,14 @@ class Settings(BaseSettings):
|
|||
port: int = 5000
|
||||
db_url: str
|
||||
fernet_key: str
|
||||
cookie_httponly: bool = False
|
||||
cookie_httponly: bool = True
|
||||
frontend_url: str
|
||||
boss_url: str
|
||||
boss_aes_key: str
|
||||
boss_hmac_key: str
|
||||
|
||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||||
cookie_secure: bool = False
|
||||
cookie_secure: bool = True
|
||||
|
||||
settings = Settings()
|
||||
cipher = Fernet(settings.fernet_key.encode())
|
||||
Loading…
Reference in a new issue