Skip to content
Snippets Groups Projects
Commit c8082671 authored by DESPRES Damien's avatar DESPRES Damien
Browse files

redirection vers index

parent b94c6a93
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ if (workbox) {
// Make sure to return a specific response for all navigation requests.
// Since we have a SPA here, this should be index.html always.
// https://stackoverflow.com/questions/49963982/vue-router-history-mode-with-pwa-in-offline-mode
workbox.routing.registerNavigationRoute('/index.html')
workbox.routing.registerNavigationRoute('/geocontrib/index.html')
workbox.routing.registerRoute(
new RegExp('.*/config/config.json'),
......
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