Skip to content
Snippets Groups Projects
Commit 9506df0b authored by Timothee P's avatar Timothee P :sunflower:
Browse files

adapt regex to all wms request

parent 20034de8
No related branches found
No related tags found
2 merge requests!424version 3.1.0,!325REDMINE_ISSUE-13321
......@@ -52,9 +52,9 @@ if (workbox) {
})
);
workbox.routing.registerRoute(
/^https:\/\/osm\.geo2france\.fr\/mapcache/,
new RegExp('.*/service=WMS&request=GetMap/.*'),
new workbox.strategies.CacheFirst({
cacheName: 'mapcache',
cacheName: 'wms',
plugins: [
new workbox.cacheableResponse.Plugin({
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