diff --git a/react/config/webpack.config.prod.js b/react/config/webpack.config.prod.js index ef8af6c..479a68c 100644 --- a/react/config/webpack.config.prod.js +++ b/react/config/webpack.config.prod.js @@ -314,7 +314,7 @@ module.exports = { navigateFallback: `${publicUrl}/index.html`, // Ignores URLs starting from /__ (useful for Firebase): // https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219 - navigateFallbackWhitelist: [/^(?!\/__).*/], + navigateFallbackWhitelist: [/^(?!\/__).*/, /\/api\//], // Don't precache sourcemaps (they're large) and build asset manifest: staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],