1
0
forked from maik/IPFS-portal

fix: PWA icons, SW method guard, start script

This commit is contained in:
maikrolf
2026-07-02 00:59:44 +02:00
parent a13e614371
commit 9b8b382925
5 changed files with 14 additions and 7 deletions
+3 -1
View File
@@ -8,4 +8,6 @@ npm install
echo "=== npm run build ==="
npm run build
echo "=== next start port ${PORT:=3005} ==="
exec npx next start --port "$PORT"
# Consume any extra args PM2 passes (e.g. --port=3005)
shift "$(($# < 1 ? 0 : 1))" 2>/dev/null || true
exec npx next start --port "$PORT" "$@"