From 8c70afc6a35c340b600cb06287307768571d39f5 Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Thu, 19 Sep 2024 11:17:18 +0100 Subject: [PATCH] Update frontend/cli_to_rails_proxy.js Co-authored-by: Ivan Kuchin --- frontend/cli_to_rails_proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [