2 references to RedirectToLocalUrlAsync
Aspire.Dashboard (2)
Model\ValidateTokenMiddleware.cs (2)
59
await
RedirectToLocalUrlAsync
(context, $"{context.Request.Path}{newQuerystring}").ConfigureAwait(false);
75
return
RedirectToLocalUrlAsync
(context, UrlValidationHelper.IsSafeRedirectUrl(returnUrl) ? returnUrl : DashboardUrls.HomeUrl());