feat: add Passenger-compatible server.js startup file for o2switch

Passenger runs a literal JS entry file, not the next start CLI or an
npm script, so a custom server was needed for cPanel's Node.js App
startup file field.
This commit is contained in:
2026-08-11 15:24:30 +02:00
parent 09600118a5
commit ecdfc95ff3
3 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"start": "node server.js",
"test": "jest",
"worker": "tsx worker/index.ts",
"worker:cleanup": "tsx worker/cron-cleanup.ts",