OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/cli_to_rails_proxy.js

14 lines
310 B

const PROXY_HOSTNAME = process.env.PROXY_HOSTNAME || 'localhost';
const PROXY_CONFIG = [
{
"context": ['/**'],
"target": `http://${PROXY_HOSTNAME}:3000`,
"secure": false,
"timeout": 360000,
// "bypass": function (req, res, proxyOptions) {
// }
}
];
module.exports = PROXY_CONFIG;