mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
now login with google should actually work
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "todolist",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"main": "app.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: [/^(?!\/__).*/, /\/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',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user