refactor(server): 修改环境变量加载路径

This commit is contained in:
zstar 2025-06-10 10:41:16 +08:00
parent 7ef6c8f332
commit bbda0cdbb8
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ import redis
from dotenv import load_dotenv
from elasticsearch import Elasticsearch
from minio import Minio
from .root_path import get_root_folder
from root_path import get_root_folder
# 加载环境变量
env_path = Path(get_root_folder()) / "docker" / ".env"