mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Bind the node.js app to the port provided by Heroku via the $HOST env var.
References: - https://help.heroku.com/P1AVPANS/why-is-my-node-js-app-crashing-with-an-r10-error - https://github.com/mikecao/umami/pull/135 - https://github.com/vercel/next.js/issues/10338
This commit is contained in:
parent
86c76c98c5
commit
a3029edfb5
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "npm-run-all build-tracker build-lang build-db build-app",
|
||||
"start": "next start",
|
||||
"start": "next start -p ${PORT-3000}",
|
||||
"build-app": "next build",
|
||||
"build-tracker": "rollup -c rollup.tracker.config.js",
|
||||
"build-db": "npm-run-all copy-db-schema build-db-client",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue