fix: PWA icons, SW method guard, start script
This commit is contained in:
+3
-1
@@ -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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user