diff --git a/infra/turf-saas-leadhunter.service b/infra/turf-saas-leadhunter.service index 2f59e12..8e7206b 100644 --- a/infra/turf-saas-leadhunter.service +++ b/infra/turf-saas-leadhunter.service @@ -1,5 +1,5 @@ [Unit] -Description=H3R7Tech LeadHunter API (Port 8770) +Description=H3R7Tech LeadHunter API (Port 8775) Documentation=https://portal-kolifee.duckdns.org After=network.target diff --git a/leadhunter_api.py b/leadhunter_api.py index 845db81..f6720da 100644 --- a/leadhunter_api.py +++ b/leadhunter_api.py @@ -2,7 +2,7 @@ """ H3R7Tech — LeadHunter API =========================== -Service Flask sur port 8770 exposant les endpoints LeadHunter. +Service Flask sur port 8775 exposant les endpoints LeadHunter. Endpoints : GET /api/leads — Liste les leads (filtres: status, limit, offset) @@ -11,7 +11,7 @@ Endpoints : GET /api/leads/export — Export CSV des leads PATCH /api/leads//status — Met à jour le statut d'un lead -Port : 8770 (8769 occupé par depenses_trello/app.py — corrigé HRT-66) +Port : 8775 (8769 occupé par depenses_trello/app.py, 8770 occupé par turf_scraper/crm_api.py — corrigé HRT-66) Auteur: H3R7Tech Backend Engineer Issue: HRT-66 @@ -292,7 +292,7 @@ def health(): { "status": "ok", "service": "leadhunter-api", - "port": 8770, + "port": 8775, } ) @@ -300,4 +300,4 @@ def health(): # ─── Entrypoint ────────────────────────────────────────────────────────────── if __name__ == "__main__": - app.run(host="0.0.0.0", port=8770, debug=False) + app.run(host="0.0.0.0", port=8775, debug=False)