From 5b11196b2968ae2f730ed6311b8e87cae69b5249 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Mon, 30 Aug 2021 20:30:06 -0500 Subject: [PATCH] bundle js by version so webfront updates don't need a cache refresh --- SharedLibraryCore/BaseController.cs | 1 + WebfrontCore/Views/Shared/_Layout.cshtml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SharedLibraryCore/BaseController.cs b/SharedLibraryCore/BaseController.cs index fa92c424..34306857 100644 --- a/SharedLibraryCore/BaseController.cs +++ b/SharedLibraryCore/BaseController.cs @@ -128,6 +128,7 @@ namespace SharedLibraryCore ViewBag.Authorized = Authorized; ViewBag.Url = Manager.GetApplicationSettings().Configuration().WebfrontUrl; ViewBag.User = Client; + ViewBag.Version = Manager.Version; ViewBag.SocialLink = SocialLink ?? ""; ViewBag.SocialTitle = SocialTitle; ViewBag.Pages = Pages; diff --git a/WebfrontCore/Views/Shared/_Layout.cshtml b/WebfrontCore/Views/Shared/_Layout.cshtml index 6b7d5e7c..9cb6cb02 100644 --- a/WebfrontCore/Views/Shared/_Layout.cshtml +++ b/WebfrontCore/Views/Shared/_Layout.cshtml @@ -164,7 +164,7 @@ - +