Skip to content

Commit

Permalink
Remove message about setting default port
Browse files Browse the repository at this point in the history
Default port can no longer be set by changing server.js, let's just
remove this message. In future we should add something to the docs on
setting port numbers, and then we can link users to that.

Co-authored-by: Joe Lanman <joe.lanman@digital.cabinet-office.gov.uk>
  • Loading branch information
lfdebrux and joelanman committed Nov 11, 2022
1 parent ba5488a commit 128809b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ exports.findAvailablePort = function (app, callback) {
callback(port)
} else {
// User answers no - exit
console.log('\nYou can set a new default port in server.js, or by running the server with PORT=XXXX')
console.log('\nExit by pressing \'ctrl + c\'')
process.exit(0)
}
Expand Down

0 comments on commit 128809b

Please sign in to comment.