Should rewrite request to https://localhost/app/index.html
Request is handled by local web pack server and not rewritten
const PROXY_CONFIG = [
{
context: [
'/client-config',
'/api',
'/brand',
'index.html'
],
'target': 'https://localhost/app/',
'autoRewrite': true,
'secure': false,
'changeOrigin': false,
'logLevel': 'debug',
'bypass': function (req, res, proxyOptions) {
}
}
];
module.exports = PROXY_CONFIG;
The proxy middleware seems to completely ignore requests for index.html and hands them off to the web pack dev server. The other routes define (client-config,brand, api) all work
I have this bug too.
Most helpful comment
I have this bug too.