Allow injection of Frontend IP Address via environment variables

Fixes #253
master
Seb Garwood 7 years ago committed by GitHub
parent 53f6667dd0
commit 1d365b6cf2

@ -26,7 +26,7 @@ const config = {
// ----------------------------------
// Server Configuration
// ----------------------------------
server_host : localip, // use string 'localhost' to prevent exposure on local network
server_host : process.env.FRONTEND_HOST || localip, // use string 'localhost' to prevent exposure on local network
server_port : process.env.PORT || 3000,
// ----------------------------------

Loading…
Cancel
Save