From b0e4b0e9b255d2e2d99417032f2c342054a506ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 7 Apr 2021 15:37:33 +0200 Subject: [PATCH] Set explicit timeout in the dev proxy Otherwise longer debug sessions will get terminated --- frontend/cli_to_rails_proxy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/cli_to_rails_proxy.js b/frontend/cli_to_rails_proxy.js index d9d8611a7b..1efa6e90cd 100644 --- a/frontend/cli_to_rails_proxy.js +++ b/frontend/cli_to_rails_proxy.js @@ -5,6 +5,7 @@ const PROXY_CONFIG = [ "context": ['/**'], "target": `http://${PROXY_HOSTNAME}:3000`, "secure": false, + "timeout": 360000, // "bypass": function (req, res, proxyOptions) { // } }