now login with google should actually work

This commit is contained in:
2018-07-09 19:07:15 +03:00
parent 56fafa68c3
commit 26aebd7e92
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "todolist",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"description": "",
"main": "app.js",

View File

@@ -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: [/^(?!\/__).*/, /\/api\//],
navigateFallbackWhitelist: [/^(?!\/api\/.*)/],
// Don't precache sourcemaps (they're large) and build asset manifest:
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
@@ -322,7 +322,7 @@ module.exports = {
// so we should disable it in order for Google OAuth to work.
runtimeCaching: [
{
urlPattern: /\/api\//,
urlPattern: /^\/api\//,
handler: 'networkOnly',
},
],