Skip to content

Commit

Permalink
feat(templates): replace navigation in local http servers of Boilerpl…
Browse files Browse the repository at this point in the history
…ate #7667 (#7672)
  • Loading branch information
msynk authored Jun 1, 2024
1 parent 7f8bcd9 commit eb2c116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private async Task StartImplementation()

app.MapGet("sign-in", async (HttpContext context, HtmlRenderer htmlRenderer) =>
{
await Routes.OpenUniversalLink(context.Request.GetEncodedPathAndQuery());
await Routes.OpenUniversalLink(context.Request.GetEncodedPathAndQuery(), replace: true);

var body = await htmlRenderer.Dispatcher.InvokeAsync(async () =>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private async Task StartImplementation()

app.MapGet("sign-in", async (HttpContext context, HtmlRenderer htmlRenderer) =>
{
await Routes.OpenUniversalLink(context.Request.GetEncodedPathAndQuery());
await Routes.OpenUniversalLink(context.Request.GetEncodedPathAndQuery(), replace: true);
await App.Current.Dispatcher.InvokeAsync(() => App.Current.MainWindow.Activate());

var body = await htmlRenderer.Dispatcher.InvokeAsync(async () =>
Expand Down

0 comments on commit eb2c116

Please sign in to comment.