From 4e639993ce2f63ce4d7f855db55498c10db30c8c Mon Sep 17 00:00:00 2001 From: Iam54r1n4 Date: Tue, 4 Feb 2025 16:30:49 +0000 Subject: [PATCH] Add ROOT_PATH to the .env config loader --- core/scripts/webpanel/config/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/scripts/webpanel/config/config.py b/core/scripts/webpanel/config/config.py index d7de6a8..3960896 100644 --- a/core/scripts/webpanel/config/config.py +++ b/core/scripts/webpanel/config/config.py @@ -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'