From 1364b79cbf5aa6807b81e9af8ee8266f898d6add Mon Sep 17 00:00:00 2001 From: ipcintron Date: Fri, 16 Feb 2024 10:10:09 -0600 Subject: [PATCH] Put the icon in the link array for iOS only --- client/nuxt.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/nuxt.config.js b/client/nuxt.config.js index 85e76325..e5e55974 100644 --- a/client/nuxt.config.js +++ b/client/nuxt.config.js @@ -29,7 +29,8 @@ module.exports = { ], script: [], link: [ - { rel: 'icon', type: 'image/x-icon', href: (process.env.ROUTER_BASE_PATH || '') + '/favicon.ico' } + { rel: 'icon', type: 'image/x-icon', href: (process.env.ROUTER_BASE_PATH || '') + '/favicon.ico' }, + { rel: 'apple-touch-icon', href: (process.env.ROUTER_BASE_PATH || '') + '/icon256.png' } ] }, @@ -110,7 +111,7 @@ module.exports = { sizes: 'any' }, { - src: (process.env.ROUTER_BASE_PATH || '') + '/icon256.png', + src: (process.env.ROUTER_BASE_PATH || '') + '/icon192.png', type: 'image/png', sizes: 'any' }