Loading version code env var into web server app
This commit is contained in:
parent
ea855dc311
commit
4eb0203b2d
3 changed files with 5 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue