We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a51be95 commit e069e35Copy full SHA for e069e35
packages/react-scripts/config/webpack.config.prod.js
@@ -340,7 +340,7 @@ module.exports = {
340
navigateFallback: publicUrl + '/index.html',
341
// Ignores URLs starting from /__ (useful for Firebase):
342
// https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219
343
- navigateFallbackWhitelist: [/^(?!\/__).*/],
+ navigateFallbackWhitelist: [/^(?!\/(__|api)).*/],
344
// Don't precache sourcemaps (they're large) and build asset manifest:
345
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
346
}),
0 commit comments