From 56fafa68c3d43674f2b28b095d44260e3ea36ccb Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Mon, 9 Jul 2018 13:47:42 +0300 Subject: [PATCH] add api to navigateFallbackWhitelist for google auth to work, finally --- react/config/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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$/],