Add oauth to list of skipped paths for service workers (#5441)
* Add oauth to list of skipped paths for service workers * Fix comment
This commit is contained in:
parent
f78b89e763
commit
150e31bbf0
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@
|
|||
!url.href.includes('?preview=') && // Skip for /future.
|
||||
!url.href.includes('/delayed_job') && // Skip for Delayed Job dashboard
|
||||
!url.href.includes('/sidekiq') && // Skip for Sidekiq dashboard
|
||||
!url.href.includes('/oauth/') && // Skip oauth apps
|
||||
!url.href.includes('/rails/mailers') && // Skip for mailers previews in development mode
|
||||
caches.match('/shell_top') && // Ensure shell_top is in the cache.
|
||||
caches.match('/shell_bottom')) { // Ensure shell_bottom is in the cache.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue