Commit 3072985f authored by Mike Cardwell's avatar Mike Cardwell

Take backend listn port from PORT environment variable

parent c54eafac
......@@ -77,7 +77,7 @@ app.get('/testResults', testResultsRoute);
(() => {
const port = parseInt(backendUrl.match(/^https?:\/\/[^\/]+:([0-9]+)/i)[1], 10);
const port = process.env.PORT;
app.listen(port, () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment