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

13 lines
287 B

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