🔧 Adds option to enable SRI integrity, plus refactos PWA into defaults

This commit is contained in:
Alicia Sykes
2021-09-04 20:01:25 +01:00
parent e27cfc7281
commit d730c36d3a
3 changed files with 58 additions and 37 deletions

View File

@@ -200,4 +200,19 @@ module.exports = {
guestAccess: 2,
notLoggedIn: 3,
},
/* Progressive Web App settings, used by Vue Config */
pwa: {
name: 'Dashy',
manifestPath: './manifest.json',
themeColor: '#00af87',
msTileColor: '#0b1021',
mode: 'production',
iconPaths: {
manifestCrossorigin: 'use-credentials',
favicon64: './web-icons/favicon-64x64.png',
favicon32: './web-icons/favicon-32x32.png',
maskIcon: './web-icons/dashy-logo.png',
msTileImage: './web-icons/dashy-logo.png',
},
},
};