diff --git a/nuxt.config.js b/nuxt.config.js index e2d6f42..6ee0a4d 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -81,9 +81,21 @@ export default { // PWA module configuration: https://go.nuxtjs.dev/pwa pwa: { manifest: { - lang: 'en' + name: 'A 1000 channels', + lang: 'en', + display: 'standalone', } }, + workbox: { + runtimeCaching: [ + { + urlPattern: 'ttps://tiles.3plusx.io/.*', + handler: 'cacheFirst', + method: 'GET', + strategyOptions: { cacheableResponse: { statuses: [0, 200] } } + }, + ] + }, // Content module configuration: https://go.nuxtjs.dev/config-content content: {}, diff --git a/static/icon.png b/static/icon.png new file mode 100644 index 0000000..d0bcdf0 Binary files /dev/null and b/static/icon.png differ diff --git a/static/site.webmanifest b/static/site.webmanifest index c42d1a5..bfef039 100644 --- a/static/site.webmanifest +++ b/static/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "", - "short_name": "", + "name": "A 1000 channels", + "short_name": "A1000C", "icons": [ { "src": "/android-chrome-96x96.png", @@ -11,4 +11,4 @@ "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" -} +} \ No newline at end of file