diff --git a/src/blazor/admin/BootstrapAdmin.Web/Shared/MainLayout.razor.cs b/src/blazor/admin/BootstrapAdmin.Web/Shared/MainLayout.razor.cs index bd641e42..cca8e995 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Shared/MainLayout.razor.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Shared/MainLayout.razor.cs @@ -101,7 +101,7 @@ namespace BootstrapAdmin.Web.Shared LogTime = DateTime.Now, OS = clientInfo.OS, UserAgent = clientInfo.UserAgent, - RequestUrl = e.Location, + RequestUrl = NavigationManager.ToBaseRelativePath(e.Location), UserName = AppContext.UserName }); });