Loading version code env var into web server app

This commit is contained in:
DarkCat09 2023-03-24 20:10:05 +04:00
parent ea855dc311
commit 4eb0203b2d
3 changed files with 5 additions and 0 deletions

View file

@ -14,6 +14,7 @@ static_dir = str(file_dir.parent / 'static')
# Main configuration
class Settings(BaseSettings):
version: str = '1.0.0'
debug: bool = False
session_key: str = 'secret'
csrf_key: str = 'secret'