Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor fix push notifications

KrzysztofPajaka4c0824963df
diff --git a/src/Web/Grand.Web/wwwroot/firebase-messaging-sw.js b/src/Web/Grand.Web/wwwroot/firebase-messaging-sw.js
index ffd304ba0..e9bba5895 100644
--- a/src/Web/Grand.Web/wwwroot/firebase-messaging-sw.js
+++ b/src/Web/Grand.Web/wwwroot/firebase-messaging-sw.js
@@ -3,12 +3,12 @@ importScripts('https://www.gstatic.com/firebasejs/7.21.0/firebase-messaging.js')
var config = {
apiKey: "",
+appId: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
-AppId: "",
};
firebase.initializeApp(config);
diff --git a/src/Web/Grand.Web/wwwroot/theme/script/vue.push.notifications.js b/src/Web/Grand.Web/wwwroot/theme/script/vue.push.notifications.js
index 67933d58f..098637057 100644
--- a/src/Web/Grand.Web/wwwroot/theme/script/vue.push.notifications.js
+++ b/src/Web/Grand.Web/wwwroot/theme/script/vue.push.notifications.js
@@ -28,7 +28,7 @@
projectId: this.ProjectId,
storageBucket: this.StorageBucket,
messagingSenderId: this.SenderId,
- AppId: this.appId
+ appId: this.AppId
};
firebase.initializeApp(config);