Set explicit timeout in the dev proxy

Otherwise longer debug sessions will get terminated
pull/9151/head
Oliver Günther 4 years ago
parent 72abb45249
commit b0e4b0e9b2
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      frontend/cli_to_rails_proxy.js

@ -5,6 +5,7 @@ const PROXY_CONFIG = [
"context": ['/**'], "context": ['/**'],
"target": `http://${PROXY_HOSTNAME}:3000`, "target": `http://${PROXY_HOSTNAME}:3000`,
"secure": false, "secure": false,
"timeout": 360000,
// "bypass": function (req, res, proxyOptions) { // "bypass": function (req, res, proxyOptions) {
// } // }
} }

Loading…
Cancel
Save