diff --git a/app/api/process-document/route.ts b/app/api/process-document/route.ts index 7e203be..75f575d 100644 --- a/app/api/process-document/route.ts +++ b/app/api/process-document/route.ts @@ -100,10 +100,10 @@ export async function POST(req: NextRequest) { // Plus de ad_hoc_recognizers ici ! }; - console.log("🔍 Appel à Presidio Analyzer..."); + console.log("🔍 Appel à Presidio Analyzer....."); // Mettez votre URL externe ici, ou utilisez le nom de service Docker si approprié const presidioAnalyzerUrl = - "http://mk88kg840wk8www8sscok8oo.51.68.233.212.sslip.io/analyze"; + "http://analyzer.151.80.20.211.sslip.io/analyze"; const analyzeResponse = await fetch(presidioAnalyzerUrl, { method: "POST", @@ -140,7 +140,7 @@ export async function POST(req: NextRequest) { console.log("🔍 Appel à Presidio Anonymizer..."); const presidioAnonymizerUrl = - "http://zgccw8o0cw4wo0wckk8kg4cg.51.68.233.212.sslip.io/anonymize"; + "http://anonymizer.151.80.20.211.sslip.io/anonymize"; const anonymizeResponse = await fetch(presidioAnonymizerUrl, { method: "POST",