This commit is contained in:
unknown
2026-03-21 07:26:38 +09:00
parent 166d94fca4
commit 40150cd66d
406 changed files with 34179 additions and 55658 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ from backend.services.logger import setup_logging
from backend.services import watchdog_handler
# 텔레그램 서비스 (별도 모듈)에서 가져옴
from telegram_bot_service import run_polling as telegram_run_polling
from backend.services.telegram_bot_service import run_polling as telegram_run_polling
# ─────────────────────────────────────────────────────────────
@@ -178,7 +178,7 @@ if os.environ.get("WERKZEUG_RUN_MAIN") == "true" or not app.config.get("DEBUG"):
# ─────────────────────────────────────────────────────────────
if __name__ == "__main__":
host = os.getenv("FLASK_HOST", "0.0.0.0")
port = int(os.getenv("FLASK_PORT", 5000))
port = int(os.getenv("FLASK_PORT", 6050))
debug = os.getenv("FLASK_DEBUG", "true").lower() == "true"
# python app.py로 직접 실행 시(use_reloader=False)에는 위 조건문에서 실행되지 않을 수 있으므로