Both the front-end and back-end packages listen fo...
# give-feedback
g
Both the front-end and back-end packages listen for the
PORT
environment variable, causing a conflict if it is set The platform I'm trying to deploy GrowthBook on, Railway, always sets this variable
Copy code
// packages/back-end/src/app.ts
app.set("port", process.env.PORT || 3100);
to something like
Copy code
app.set("port", process.env.BACKEND_PORT || process.env.PORT || 3100);
Made a pull request: https://github.com/growthbook/growthbook/pull/4284