Skip to content
Snippets Groups Projects
Commit 11a66bcd authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'redmine-issues/13321' into 'develop'

parents 20034de8 9506df0b
No related branches found
No related tags found
2 merge requests!424version 3.1.0,!325REDMINE_ISSUE-13321
...@@ -52,9 +52,9 @@ if (workbox) { ...@@ -52,9 +52,9 @@ if (workbox) {
}) })
); );
workbox.routing.registerRoute( workbox.routing.registerRoute(
/^https:\/\/osm\.geo2france\.fr\/mapcache/, new RegExp('.*/service=WMS&request=GetMap/.*'),
new workbox.strategies.CacheFirst({ new workbox.strategies.CacheFirst({
cacheName: 'mapcache', cacheName: 'wms',
plugins: [ plugins: [
new workbox.cacheableResponse.Plugin({ new workbox.cacheableResponse.Plugin({
statuses: [0, 200], statuses: [0, 200],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment