presidio gitea
This commit is contained in:
@@ -97,11 +97,10 @@ export async function POST(req: NextRequest) {
|
|||||||
const analyzerConfig = {
|
const analyzerConfig = {
|
||||||
text: fileContent,
|
text: fileContent,
|
||||||
language: "fr",
|
language: "fr",
|
||||||
// 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 =
|
const presidioAnalyzerUrl =
|
||||||
"http://analyzer.151.80.20.211.sslip.io/analyze";
|
"http://analyzer.151.80.20.211.sslip.io/analyze";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user