diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 112802e3..21abadba 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/LinkDotNet.Blog.Web/Authentication/Auth0/Auth0Extensions.cs b/src/LinkDotNet.Blog.Web/Authentication/Auth0/Auth0Extensions.cs index f81e46c7..5ab95b8f 100644 --- a/src/LinkDotNet.Blog.Web/Authentication/Auth0/Auth0Extensions.cs +++ b/src/LinkDotNet.Blog.Web/Authentication/Auth0/Auth0Extensions.cs @@ -62,7 +62,7 @@ private static Task HandleRedirect(Auth0Information auth0, RedirectContext conte var postLogoutUri = context.Properties.RedirectUri; if (!string.IsNullOrEmpty(postLogoutUri)) { - if (postLogoutUri.StartsWith("/")) + if (postLogoutUri.StartsWith('/')) { var request = context.Request; postLogoutUri = request.Scheme + "://" + request.Host + request.PathBase + postLogoutUri;