diff --git a/TaxBaik.Web/Pages/Shared/_Footer.cshtml b/TaxBaik.Web/Pages/Shared/_Footer.cshtml index cbb2676..0d3c4dc 100644 --- a/TaxBaik.Web/Pages/Shared/_Footer.cshtml +++ b/TaxBaik.Web/Pages/Shared/_Footer.cshtml @@ -1,20 +1,3 @@ -@{ - string versionText = "unknown"; - try - { - var versionFile = System.IO.Path.Combine(AppContext.BaseDirectory, "wwwroot", "version.txt"); - if (System.IO.File.Exists(versionFile)) - { - var content = System.IO.File.ReadAllText(versionFile).Trim(); - versionText = content; - } - } - catch (Exception ex) - { - versionText = $"error: {ex.GetType().Name}"; - } -} -