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:
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user