Skip to content

Commit

Permalink
fix: Environment lost
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed May 6, 2024
1 parent 152f13b commit cda41ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Web/Masa.Auth.Web.Sso/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
var masaStackConfig = builder.Services.GetMasaStackConfig();

// Add services to the container.
builder.Services.AddScoped<EnvironmentDataService>();
builder.Services.AddSingleton<EnvironmentDataService>();
builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();
builder.Services.AddMasaBlazor(builder =>
Expand Down

0 comments on commit cda41ac

Please sign in to comment.