diff --git a/FrontEnd/config/index.js b/FrontEnd/config/index.js index a55a5e7..21de3c6 100644 --- a/FrontEnd/config/index.js +++ b/FrontEnd/config/index.js @@ -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, // ----------------------------------