Don't include locale in service workers (#10198)

This commit is contained in:
Ben Halpern 2020-09-03 17:54:01 -04:00 committed by GitHub
parent 70b5a3530c
commit ee1af652c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,7 @@
!url.href.includes('/resource_admin') && // Don't fetch for administrate dashboard.
!url.href.includes('/api/') && // Don't run on API endpoints.
!url.href.includes('/locale/') && // Don't run on explicit locale endpoints.
!url.href.includes('/embed/') && // Don't fetch for embeded content.
!url.href.includes('/feed') && // Skip the RSS feed
!url.href.includes('/rss') && // Skip the RSS feed alternative path