diff --git a/src/app/api/[...path]/proxy-ipfs.ts b/src/app/api/[...path]/proxy-ipfs.ts index d97433a..df8f7e9 100644 --- a/src/app/api/[...path]/proxy-ipfs.ts +++ b/src/app/api/[...path]/proxy-ipfs.ts @@ -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); }