fix: webpack-dev-server proxy hostname (#4515)

Switching the hostname from 'localhost' to the ipv6 '[::1]' fixes the dev server proxy

https://github.com/webpack/webpack-dev-server/issues/793#issuecomment-316650146

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2020-10-09 15:55:28 -04:00 committed by GitHub
parent 9f2eab665b
commit 8eb3306064
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ const path = require('path');
const isProd = process.env.NODE_ENV === 'production';
const proxyConf = {
'target': process.env.ARGOCD_API_URL || 'http://localhost:8080',
'target': process.env.ARGOCD_API_URL || 'http://[::1]:8080',
'secure': false,
};