Skip to content

Commit

Permalink
bugfix 修复 fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
hys committed Mar 18, 2018
1 parent 6ceec87 commit 8c3ca20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,6 @@ const webpackConfig = {
console.log(message)
},
minify: true,
// For unknown URLs, fallback to the index page
navigateFallback: publicUrl + '/index.html',
// Ignores URLs starting from /__ (useful for Firebase):
// https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219
navigateFallbackWhitelist: [/^(?!\/__).*/],
Expand Down

0 comments on commit 8c3ca20

Please sign in to comment.