diff options
Diffstat (limited to 'ModAS.Server/Program.cs')
-rw-r--r-- | ModAS.Server/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ModAS.Server/Program.cs b/ModAS.Server/Program.cs index cba8d69..da44ca8 100644 --- a/ModAS.Server/Program.cs +++ b/ModAS.Server/Program.cs @@ -29,8 +29,8 @@ builder.Services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>(); builder.Services.AddSingleton<ModASConfiguration>(); -builder.Services.AddScoped<AuthenticationService>(); -builder.Services.AddScoped<AuthenticatedHomeserverProviderService>(); +builder.Services.AddSingleton<AuthenticationService>(); +builder.Services.AddSingleton<AuthenticatedHomeserverProviderService>(); // builder.Services.AddScoped<UserContextService>(); builder.Services.AddSingleton<TieredStorageService>(x => { |