File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -368,13 +368,12 @@ module.exports = {
368368 console . log ( message ) ;
369369 } ,
370370 minify : true ,
371- // For unknown URLs, fallback to the index page
372- navigateFallback : publicUrl + '/index.html' ,
373- // Ignores URLs starting from /__ (useful for Firebase):
374- // https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219
375- navigateFallbackWhitelist : [ / ^ (? ! \/ _ _ ) .* / ] ,
376371 // Don't precache sourcemaps (they're large) and build asset manifest:
377372 staticFileGlobsIgnorePatterns : [ / \. m a p $ / , / a s s e t - m a n i f e s t \. j s o n $ / ] ,
373+ // `navigateFallback` and `navigateFallbackWhitelist` are disabled by default; see
374+ // https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#service-worker-considerations
375+ // navigateFallback: publicUrl + '/index.html',
376+ // navigateFallbackWhitelist: [/^(?!\/__).*/],
378377 } ) ,
379378 // Moment.js is an extremely popular library that bundles large locale files
380379 // by default due to how Webpack interprets its code. This is a practical
You can’t perform that action at this time.
0 commit comments