fix: URLs Gitea correctes dans inventaire (recette/prod séparées), GITEA_RECETTE_PUBLIC

This commit is contained in:
manus-admin
2026-05-31 23:57:25 +02:00
parent 0781c76931
commit 355e2a85e2
3 changed files with 9 additions and 4 deletions

View File

@@ -153,8 +153,11 @@ export default function InventairePage() {
}
};
// Auto-refresh toutes les 5 minutes
useEffect(() => {
fetchInventory();
const interval = setInterval(fetchInventory, 5 * 60 * 1000);
return () => clearInterval(interval);
}, []);
return (