debug: voeg console.log toe aan proxyIPFS voor lokale pins
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user