fix: skip health server in dev mode (no port needed locally)
All checks were successful
ci / ci (push) Successful in 51s

This commit is contained in:
Mathis 2026-09-25 19:59:23 +02:00
parent e46c04fe98
commit 8f2e121d61

View file

@ -26,7 +26,8 @@ async def main():
instance = "DEV" if config.DEV else "PROD"
logger.info(f"Lancement de Vision Studio [{instance}]...")
await start_health_server(config.HEALTH_PORT)
if not config.DEV:
await start_health_server(config.HEALTH_PORT)
bot = VisionBot()
try: