π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Adds useCredentials for PWA for auth (#2102)
Alicia Sykesb1933de22667
diff --git a/src/utils/config/defaults.js b/src/utils/config/defaults.jsindex 9272288b..bfee1a15 100644--- a/src/utils/config/defaults.js+++ b/src/utils/config/defaults.js@@ -302,44 +302,6 @@ const defaults = {keycloakEnabled: 4,oidcEnabled: 5,},- /* Progressive Web App settings, used by Vue Config */- pwa: {- name: 'Dashy',- themeColor: '#00af87',- msTileColor: '#0b1021',- mode: 'production',- manifestCrossorigin: 'use-credentials',- iconPaths: {- faviconSVG: null,- appleTouchIcon: './web-icons/dashy-pwa_192x192.png',- favicon64: './web-icons/favicon-64x64.png',- favicon32: './web-icons/favicon-32x32.png',- favicon16: './web-icons/favicon-16x16.png',- maskIcon: './web-icons/dashy-logo.png',- msTileImage: './web-icons/dashy-logo.png',- },- workboxOptions: {- exclude: [- // https://developer.chrome.com/docs/workbox/modules/workbox-build#properties_14- /\.map$/,- /^manifest.*\.js$/, // default value- /\.nojekyll$/,- /\.gitignore$/,- /conf\.yml$/, // ignore config for runtimeCaching- ],- // https://developer.chrome.com/docs/workbox/modules/workbox-build#type-RuntimeCaching- runtimeCaching: [- {- urlPattern: /conf\.yml$/,- handler: 'NetworkFirst',- options: {- cacheName: 'config-cache',- networkTimeoutSeconds: 3,- },- },- ],- },- },};export const {@@ -377,7 +339,6 @@ export const {searchBangs,sentryDsn,userStateEnum,- pwa,} = defaults;export default defaults;diff --git a/vite.config.mjs b/vite.config.mjsindex b7c49a21..cdea8e2e 100644--- a/vite.config.mjs+++ b/vite.config.mjs@@ -56,6 +56,7 @@ export default defineConfig({copyUserDataConfig(),VitePWA({registerType: 'prompt',+ useCredentials: true,manifest: {name: 'Dashy',theme_color: '#00af87',