I replaced the domain in the hosts file 127.0.0.1:8080 domain.com
But it did not help
This is my webpack.config
module.exports = merge(common, {
    mode: 'development',
    devtool: 'source-map',
    devServer: {
        historyApiFallback: true,
        contentBase: './dist',
        hot: true,
        host: '0.0.0.0',
        port: 80
    },
});
