Attempt to mitigate errors w/ HTTPS

This commit is contained in:
kittentm 2026-02-20 04:44:33 +01:00
commit f5249ae489
4 changed files with 15 additions and 20 deletions

View file

@ -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())