diff --git a/src/JobsJobsJobs/Application/App.fs b/src/JobsJobsJobs/Application/App.fs index 0109a62..af1d2e2 100644 --- a/src/JobsJobsJobs/Application/App.fs +++ b/src/JobsJobsJobs/Application/App.fs @@ -3,6 +3,7 @@ module JobsJobsJobs.App open System open System.Text +open BitBadger.AspNetCore.CanonicalDomains open Giraffe open Giraffe.EndpointRouting open JobsJobsJobs.Common.Data @@ -71,6 +72,7 @@ let main args = ] let _ = app.UseForwardedHeaders () + let _ = app.UseCanonicalDomains () let _ = app.UseCookiePolicy (CookiePolicyOptions (MinimumSameSitePolicy = SameSiteMode.Strict)) let _ = app.UseStaticFiles () let _ = app.UseRouting () diff --git a/src/JobsJobsJobs/Application/JobsJobsJobs.Application.fsproj b/src/JobsJobsJobs/Application/JobsJobsJobs.Application.fsproj index ef31249..2182e7f 100644 --- a/src/JobsJobsJobs/Application/JobsJobsJobs.Application.fsproj +++ b/src/JobsJobsJobs/Application/JobsJobsJobs.Application.fsproj @@ -29,4 +29,8 @@ + + + + diff --git a/src/JobsJobsJobs/Directory.Build.props b/src/JobsJobsJobs/Directory.Build.props index 2ef9e4b..7df57c2 100644 --- a/src/JobsJobsJobs/Directory.Build.props +++ b/src/JobsJobsJobs/Directory.Build.props @@ -4,7 +4,7 @@ enable embedded false - 3.1.0.0 - 3.1.0.0 + 3.1.1.0 + 3.1.1.0