Skip to content

Commit ed6ff7e

Browse files
committed
build: update start scripts in package.json
- Changed start:prod and start:stage scripts to use "next start" instead of the standalone server path.
1 parent acb4d8e commit ed6ff7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/webapp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"dev": "next dev --turbopack",
77
"build": "next build",
88
"start": "next start",
9-
"start:prod": "PORT=3001 node .next/standalone/packages/webapp/server.js",
10-
"start:stage": "PORT=3000 node .next/standalone/packages/webapp/server.js",
9+
"start:prod": "PORT=3001 node next start",
10+
"start:stage": "PORT=3000 node next start",
1111
"pm2:start:stage": "pm2 reload pm2.config.js --env production --only nextjs_stage",
1212
"pm2:start:prod": "pm2 reload pm2.config.js --env production --only nextjs_production",
1313
"pm2:logs": "pm2 logs",

0 commit comments

Comments
 (0)