debug: voeg console.log toe aan proxyIPFS voor lokale pins

This commit is contained in:
maikrolf
2026-09-19 17:35:28 +02:00
parent 729b052d08
commit 5a454a2ddc
+2
View File
@@ -9,7 +9,9 @@ export async function proxyIPFS(path: string, method: string, req: NextRequest):
// ── Lokale pin opslag (altijd, ongeacht Kubo) ──
// Pins worden lokaal opgeslagen in .data/pins.json
// Kubo wordt later toegevoegd voor productie
console.log('[proxyIPFS] path:', path, '→ normalized:', p, 'method:', method);
if (p === 'pins' || p.startsWith('pins/')) {
console.log('[proxyIPFS] → handling locally');
return handleLocalPins(p, method, req);
}