]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - vue.config.js
Bump dns-packet from 1.3.1 to 1.3.4
[github/bastienwirtz/homer.git] / vue.config.js
index 5a9d05f6fd6030b69fa45ae1b91d1eaeea28b6f9..410acc89ce30a0cd6bccd1bdd8dda871fd9c8978 100644 (file)
@@ -1,3 +1,5 @@
+const manifestOptions = require("./public/assets/manifest.json");
+
 module.exports = {
   chainWebpack: (config) => {
     config.module
@@ -10,11 +12,12 @@ module.exports = {
   publicPath: "",
   pwa: {
     manifestPath: "assets/manifest.json",
+    manifestCrossorigin: "use-credentials",
     appleMobileWebAppStatusBarStyle: "black",
     appleMobileWebAppCapable: "yes",
-    name: "Homer Dashboard",
-    themeColor: "#3367D6",
-    manifestOptions: require('./public/assets/manifest.json'),
+    name: manifestOptions.name,
+    themeColor: manifestOptions.theme_color,
+    manifestOptions,
     iconPaths: {
       favicon32: "assets/icons/favicon-32x32.png",
       favicon16: "assets/icons/favicon-16x16.png",