Files
Vorrania/backend
Scarriffle 9d4fd030d8 Fix Barcode-Lookup: Open Food Facts v0-API statt v2
Die v2-API liefert kein status:1-Feld (nur code+product) und antwortet mit
HTTP 404 bei Nicht-Treffern; unser Code prueft aber auf status==1 -> selbst
vorhandene Produkte wurden als "unbekannt" gemeldet. Umstellung auf die v0-API
(status 1/0, HTTP 200), plus robustes JSON-Parsing und follow_redirects.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 09:52:14 +02:00
..