fix: убрать хардкод путей /opt/GigaAM, сделать проект портативным

This commit is contained in:
Denis Krivchenko
2026-07-04 02:42:20 +07:00
parent 3090adcec7
commit d70b83543a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ from qdrant_client import QdrantClient
from ldap3 import Server, Connection, ALL
# --- ИМПОРТИРУЕМ ВСЕ НАСТРОЙКИ ИЗ ЕДИНОГО КОНФИГА ---
sys.path.append('/opt/GigaAM')
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from config.config import *
# --- ИНИЦИАЛИЗАЦИЯ FLASK ---