mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
now login with google should actually work
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "todolist",
|
"name": "todolist",
|
||||||
"version": "0.2.0",
|
"version": "0.2.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
|
|||||||
@@ -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: [/^(?!\/__).*/, /\/api\//],
|
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$/],
|
||||||
|
|
||||||
@@ -322,7 +322,7 @@ module.exports = {
|
|||||||
// so we should disable it in order for Google OAuth to work.
|
// so we should disable it in order for Google OAuth to work.
|
||||||
runtimeCaching: [
|
runtimeCaching: [
|
||||||
{
|
{
|
||||||
urlPattern: /\/api\//,
|
urlPattern: /^\/api\//,
|
||||||
handler: 'networkOnly',
|
handler: 'networkOnly',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user