diff --git a/bin/dev b/bin/dev index 94d7a5db..0d61bda8 100644 --- a/bin/dev +++ b/bin/dev @@ -3,6 +3,6 @@ const startServer = require("./www"); const serverPort = 3005; -const initialClient = ""; +const initialClient = "http://localhost:8080/test-ehr/r4::app-login"; startServer(serverPort, initialClient); \ No newline at end of file diff --git a/bin/prod b/bin/prod index 94d7a5db..9f01282b 100644 --- a/bin/prod +++ b/bin/prod @@ -2,7 +2,7 @@ const startServer = require("./www"); -const serverPort = 3005; -const initialClient = ""; +const serverPort = process.env.REACT_APP_SERVER_PORT ? process.env.REACT_APP_SERVER_PORT : 3005; +const initialClient = process.env.REACT_APP_INITIAL_CLIENT ? process.env.REACT_APP_INITIAL_CLIENT : "http://localhost:8080/test-ehr/r4::app-login"; startServer(serverPort, initialClient); \ No newline at end of file