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.

Rename js file push.notifications

KrzysztofPajakf04a817770ad
diff --git a/src/Web/Grand.Web/Views/Shared/Components/PushNotificationsRegistration/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/PushNotificationsRegistration/Default.cshtml
index 34ed5d70b..a5ac81b2b 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/PushNotificationsRegistration/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/PushNotificationsRegistration/Default.cshtml
@@ -2,7 +2,7 @@
@inject IPageHeadBuilder pagebuilder
<script asp-location="Footer" asp-src="https://www.gstatic.com/firebasejs/8.6.5/firebase.js"></script>
-<script asp-location="Head" asp-src="/theme/script/vue.push.notifications.js"></script>
+<script asp-location="Head" asp-src="/theme/script/public.push.notifications.js"></script>
<script asp-location="Footer">
PushNotifications.init("@Model.PublicApiKey", "@Model.SenderId", "@Model.ProjectId", "@Model.AuthDomain", "@Model.StorageBucket",
diff --git a/src/Web/Grand.Web/wwwroot/theme/script/vue.push.notifications.js b/src/Web/Grand.Web/wwwroot/theme/script/public.push.notifications.js
similarity index 100%
rename from src/Web/Grand.Web/wwwroot/theme/script/vue.push.notifications.js
rename to src/Web/Grand.Web/wwwroot/theme/script/public.push.notifications.js