Add ROOT_PATH to the .env config loader
This commit is contained in:
@ -2,11 +2,14 @@ from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Configs(BaseSettings):
|
||||
PORT: int
|
||||
DOMAIN: str
|
||||
DEBUG: bool
|
||||
ADMIN_USERNAME: str
|
||||
ADMIN_PASSWORD: str
|
||||
API_TOKEN: str
|
||||
EXPIRATION_MINUTES: int
|
||||
DEBUG: bool
|
||||
ROOT_PATH: str
|
||||
|
||||
class Config:
|
||||
env_file = '.env'
|
||||
|
||||
Reference in New Issue
Block a user