aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Plugins.Essentials.Content.Routing
diff options
context:
space:
mode:
Diffstat (limited to 'VNLib.Plugins.Essentials.Content.Routing')
-rw-r--r--VNLib.Plugins.Essentials.Content.Routing/PageRouterEntry.cs2
-rw-r--r--VNLib.Plugins.Essentials.Content.Routing/VNLib.Plugins.Essentials.Content.Routing.csproj12
2 files changed, 10 insertions, 4 deletions
diff --git a/VNLib.Plugins.Essentials.Content.Routing/PageRouterEntry.cs b/VNLib.Plugins.Essentials.Content.Routing/PageRouterEntry.cs
index 4548f60..10b7075 100644
--- a/VNLib.Plugins.Essentials.Content.Routing/PageRouterEntry.cs
+++ b/VNLib.Plugins.Essentials.Content.Routing/PageRouterEntry.cs
@@ -58,7 +58,7 @@ namespace VNLib.Plugins.Essentials.Content.Routing
protected override void ProcessHostCommand(string cmd)
{
- if(cmd.Contains("reset"))
+ if(cmd.Contains("reset", StringComparison.OrdinalIgnoreCase))
{
PageRouter?.ResetRoutes();
Log.Information("Routing table reset");
diff --git a/VNLib.Plugins.Essentials.Content.Routing/VNLib.Plugins.Essentials.Content.Routing.csproj b/VNLib.Plugins.Essentials.Content.Routing/VNLib.Plugins.Essentials.Content.Routing.csproj
index 9d42c1e..c0188fa 100644
--- a/VNLib.Plugins.Essentials.Content.Routing/VNLib.Plugins.Essentials.Content.Routing.csproj
+++ b/VNLib.Plugins.Essentials.Content.Routing/VNLib.Plugins.Essentials.Content.Routing.csproj
@@ -3,18 +3,24 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Authors>Vaughn Nugent</Authors>
- <Version>1.0.0.1</Version>
+ <Version>1.0.1.1</Version>
<Copyright>Copyright © 2022 Vaughn Nugent</Copyright>
<PackageProjectUrl>https://www.vaughnnugent.com</PackageProjectUrl>
<AssemblyName>PageRouter</AssemblyName>
- <Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<!-- Resolve nuget dll files and store them in the output dir -->
<PropertyGroup>
<!--Enable dynamic loading-->
<EnableDynamicLoading>true</EnableDynamicLoading>
- <PlatformTarget>x64</PlatformTarget>
+ <Nullable>enable</Nullable>
+ <AnalysisLevel>latest-all</AnalysisLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <Deterministic>False</Deterministic>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+ <Deterministic>False</Deterministic>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ErrorProne.NET.CoreAnalyzers" Version="0.1.2">