fix(GRO-472): exclude OAuth callback from service worker caching #228
@@ -40,6 +40,9 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ["**/*.{js,css,html,ico,png,svg,woff2}"],
|
globPatterns: ["**/*.{js,css,html,ico,png,svg,woff2}"],
|
||||||
|
navigateFallbackDenylist: [
|
||||||
|
/^\/api\/auth\/oauth2\/callback\//,
|
||||||
|
],
|
||||||
runtimeCaching: [
|
runtimeCaching: [
|
||||||
{
|
{
|
||||||
urlPattern: /^http.*\/api\/.*/i,
|
urlPattern: /^http.*\/api\/.*/i,
|
||||||
|
|||||||
Reference in New Issue
Block a user