From 5a454a2ddcbb97a33a5abf4d08fe20f7b6229145 Mon Sep 17 00:00:00 2001 From: maikrolf <40924921+maikrolf@users.noreply.github.com> Date: Sat, 19 Sep 2026 17:35:28 +0200 Subject: [PATCH] debug: voeg console.log toe aan proxyIPFS voor lokale pins --- src/app/api/[...path]/proxy-ipfs.ts | 2 ++ 1 file changed, 2 insertions(+) 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); }