react-redux-starter-kit
react-redux-starter-kit copied to clipboard
can't navigate to page or refresh
Hello, I'm currently using NodeJs with the React-Redux-Starter-Kit,
i have added
historyApiFallback: true,
in webpackConfig-dev-server-config.js :
webpackConfig.devServer = {
hot: true,
https: true,
historyApiFallback: true,
contentBase: './',
host: 'localhost',
port: 8080,
headers: {
'Access-Control-Allow-Origin': '*'
}
}
When i run npm run dev , a message appears in the console stating
404s will fallback to /index.html
but when i navigate to a non-existing page, the browser returns a blank page with a console error of
:44334/asdfsadf:1 GET https://localhost:44334/asdfsadf 404 ()