diff --git a/frontend/cli_to_rails_proxy.js b/frontend/cli_to_rails_proxy.js index ea7e984dea1e..ca52925bde70 100644 --- a/frontend/cli_to_rails_proxy.js +++ b/frontend/cli_to_rails_proxy.js @@ -1,4 +1,4 @@ -const PROXY_HOSTNAME = process.env.PROXY_HOSTNAME || 'localhost'; +const PROXY_HOSTNAME = process.env.PROXY_HOSTNAME || process.env.HOST || 'localhost'; const PORT = process.env.PORT || '3000'; const PROXY_CONFIG = [