diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 7e424d73b7c..36522596d7d 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -632,7 +632,16 @@ if (isDevMode) { hot: true, host: devserverHost, port: devserverPort, - allowedHosts: ['localhost', '.localhost', '127.0.0.1', '::1', '.local'], + allowedHosts: [ + ...new Set([ + devserverHost, + 'localhost', + '.localhost', + '127.0.0.1', + '::1', + '.local', + ]), + ], proxy: [() => proxyConfig], client: { overlay: {