mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
add api to navigateFallbackWhitelist for google auth to work, finally
This commit is contained in:
@@ -314,7 +314,7 @@ module.exports = {
|
|||||||
navigateFallback: `${publicUrl}/index.html`,
|
navigateFallback: `${publicUrl}/index.html`,
|
||||||
// Ignores URLs starting from /__ (useful for Firebase):
|
// Ignores URLs starting from /__ (useful for Firebase):
|
||||||
// https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219
|
// 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:
|
// Don't precache sourcemaps (they're large) and build asset manifest:
|
||||||
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
|
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user