Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Minor changes in UsePageNotFound
KrzysztofPajakcf72fa93a6af
diff --git a/src/Web/Grand.Web.Common/Infrastructure/ApplicationBuilderExtensions.cs b/src/Web/Grand.Web.Common/Infrastructure/ApplicationBuilderExtensions.csindex 21047d876..47d1d944d 100644--- a/src/Web/Grand.Web.Common/Infrastructure/ApplicationBuilderExtensions.cs+++ b/src/Web/Grand.Web.Common/Infrastructure/ApplicationBuilderExtensions.cs@@ -122,8 +122,7 @@ namespace Grand.Web.Common.Infrastructure//get current customervar workContext = context.HttpContext.RequestServices.GetRequiredService<IWorkContext>();_ = logger.InsertLog(Domain.Logging.LogLevel.Error,- $"Error 404. The requested page ({context.HttpContext.Request.Scheme}://{context.HttpContext.Request.Host}{context.HttpContext.Request.Path})" +- $" was not found",+ $"Error 404. The requested page ({context.HttpContext.Request?.GetDisplayUrl()}) was not found",customer: workContext.CurrentCustomer,ipAddress: context.HttpContext?.Connection?.RemoteIpAddress?.ToString(),pageurl: context.HttpContext?.Request?.GetDisplayUrl(),