We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1f96c commit d7e9e78Copy full SHA for d7e9e78
1 file changed
app/service-worker.ts
@@ -47,6 +47,8 @@ if (import.meta.env.PROD) {
47
denylist = [
48
// search page
49
/^\/search$/,
50
+ /^\/~/,
51
+ /^\/org\//,
52
// api calls
53
/^\/api\//,
54
/^\/oauth\//,
@@ -61,7 +63,11 @@ if (import.meta.env.PROD) {
61
63
62
64
registerRoute(
65
({ sameOrigin, url }) =>
- sameOrigin && (url.pathname.startsWith('/package/') || url.pathname.startsWith('/api/')),
66
+ sameOrigin &&
67
+ (url.pathname.startsWith('/package/') ||
68
+ url.pathname.startsWith('/org/') ||
69
+ url.pathname.startsWith('/~') ||
70
+ url.pathname.startsWith('/api/')),
71
new NetworkFirst({
72
cacheName: cacheNames[0],
73
plugins: [
0 commit comments