From 52b938ca6467c953c4ea87556a7a16c06a779993 Mon Sep 17 00:00:00 2001 From: continuist Date: Thu, 26 Jun 2025 22:24:45 -0400 Subject: [PATCH] Change default frontend API port --- frontend/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 2485129..8f78a05 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,13 +4,13 @@ "private": true, "license": "CC-BY-NC-SA-4.0", "scripts": { - "dev": "next dev --turbopack", - "dev:fast": "next dev --turbopack --port 3001 --hostname 0.0.0.0", - "dev:analyze": "ANALYZE=true next dev --turbopack", + "dev": "next dev --turbopack --port ${PORT:-3000}", + "dev:fast": "next dev --turbopack --hostname 0.0.0.0 --port ${PORT:-3000}", + "dev:analyze": "ANALYZE=true next dev --turbopack --port ${PORT:-3000}", "build": "next build", "build:analyze": "ANALYZE=true next build", - "start": "next start", - "start:fast": "next start --port 3001 --hostname 0.0.0.0", + "start": "next start --port ${PORT:-3000}", + "start:fast": "next start --hostname 0.0.0.0 --port ${PORT:-3000}", "lint": "next lint", "type-check": "tsc --noEmit", "performance": "npm run build && npm run start:fast",