diff --git a/Nano.Web/Extensions/ApplicationBuilderExtensions.cs b/Nano.Web/Extensions/ApplicationBuilderExtensions.cs index d390e7c..7a6da3b 100644 --- a/Nano.Web/Extensions/ApplicationBuilderExtensions.cs +++ b/Nano.Web/Extensions/ApplicationBuilderExtensions.cs @@ -189,7 +189,7 @@ internal static IApplicationBuilder UseHttpDocumentataion(this IApplicationBuild var originalIndexHtmlContents = originalStreamReader .ReadToEnd(); - var pattern = "<(script|style|link)([^>]*)>"; + var pattern = "<(script|style)([^>]*)>"; var replacement = $"<$1$2 nonce=\"{webOptions.Documentation.CspNonce}\">"; var nonceEnabledIndexHtmlContents = Regex.Replace(originalIndexHtmlContents, pattern, replacement, RegexOptions.IgnoreCase); diff --git a/NanoCore.nuspec b/NanoCore.nuspec index 37b6633..085ff4a 100644 --- a/NanoCore.nuspec +++ b/NanoCore.nuspec @@ -2,7 +2,7 @@ NanoCore - 8.1.24 + 8.1.25 Nano Core Rapidly built and deploy rich .NET 8.0 applications. Configuration, Security, Logging, Data, Hosting, Docs, Localization, Versioning, Api, Error-Handling, and much more. The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar.