Webpack dev server React Content Security Policy error
If you use Webpack in your project, please add output.publicPath = '/'
and devServer.historyApiFallback = true
in your webpack config file.
More info: React-router urls don't work when refreshing or writting manually