1
0
forked from maik/IPFS-portal

fix: bw/stats 404, gateway links, history crash

- swr.ts: remove useBandwidth(), drop bw from useDashboard()
- events/route.ts: skip bandwidth SSE (Kubo 0.28.0 unsupported)
- usage/page.tsx: remove getBWStats call + bw references
- helpers.ts: gatewayLink -> ipfs.maos.dedyn.io (subdomain only)
- upload/page.tsx: fix local gatewayLink (subdomain only)
- storage.ts: update default gatewayUrl, add defensive getHistory()
This commit is contained in:
maikrolf
2026-07-05 17:03:18 +02:00
9 changed files with 35 additions and 20 deletions
+3 -3
View File
@@ -7,10 +7,10 @@
"dev": "next dev --port 3445",
"dev:webpack": "next dev --port 3445 --webpack",
"build": "next build",
"start": "next start",
"export": "next build && npx serve out"
},
"dependencies": {
"@maos/ipfs-portal": "file:",
"@tailwindcss/postcss": "^4.3.1",
"clsx": "^2.1.1",
"jose": "^6.2.3",
@@ -24,8 +24,8 @@
},
"devDependencies": {
"@playwright/test": "^1.61.1",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/node": "22.20.0",
"@types/react": "19.2.17",
"@types/react-dom": "^19.0.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.8.0",