diff --git a/Directory.Build.props b/Directory.Build.props index 0df9b2bf..1dd77e31 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,6 +7,7 @@ true true Linux + true True diff --git a/Directory.Packages.props b/Directory.Packages.props index 28030ffc..05d4d060 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,15 +2,14 @@ true false - true 1.1.1.4330 - + diff --git a/EssentialCSharp.Web/EssentialCSharp.Web.csproj b/EssentialCSharp.Web/EssentialCSharp.Web.csproj index 11731fb3..501be8cb 100644 --- a/EssentialCSharp.Web/EssentialCSharp.Web.csproj +++ b/EssentialCSharp.Web/EssentialCSharp.Web.csproj @@ -1,15 +1,16 @@  net8.0 - true + + + - diff --git a/EssentialCSharp.Web/wwwroot/js/site.js b/EssentialCSharp.Web/wwwroot/js/site.js index c76f5c54..c10bd58b 100644 --- a/EssentialCSharp.Web/wwwroot/js/site.js +++ b/EssentialCSharp.Web/wwwroot/js/site.js @@ -152,7 +152,9 @@ const app = createApp({ } function goToPrevious() { - window.location.href = "/" + PREVIOUS_PAGE; + if (!window.location.href.endsWith("/home")) { + window.location.href = "/" + PREVIOUS_PAGE; + } } function goToNext() { window.location.href = "/" + NEXT_PAGE; diff --git a/nuget.config b/nuget.config index 65bcde44..e2a08b86 100644 --- a/nuget.config +++ b/nuget.config @@ -6,6 +6,9 @@ + + +