Compare commits

...
1 Commits
Author SHA1 Message Date
xrain c68cfa6192 fix simapiauth to singleton 2024-03-24 17:40:48 +08:00
+1 -1
View File
@@ -33,7 +33,7 @@ public static class SimApiExtensions
// 是否使用 AUTH
if (simApiOptions.EnableSimApiAuth)
{
builder.AddScoped<SimApiAuth>();
builder.AddSingleton<SimApiAuth>();
}
if (simApiOptions.EnableCors)