Skip to content

Commit

Permalink
remove workaround!
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Del Rincón López committed Oct 6, 2023
1 parent 260b7a2 commit 1c86b9c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions BlazorApp1/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
builder.Services.AddControllersWithViews()
.AddJsonOptions(options =>
{
// ??? :D https://github.com/dotnet/aspnetcore/issues/38720#issuecomment-1017156458
options.JsonSerializerOptions.Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping;
options.JsonSerializerOptions.AddContext<WeatherForecastDtoJsonContext>();
});

Expand Down

0 comments on commit 1c86b9c

Please sign in to comment.