mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-05 22:05:18 -04:00
Adding strongly typed options
This commit is contained in:
@@ -66,10 +66,6 @@ namespace Kyoo.Postgresql
|
||||
if (_environment.IsDevelopment())
|
||||
x.EnableDetailedErrors().EnableSensitiveDataLogging();
|
||||
});
|
||||
// services.AddScoped<DatabaseContext>(_ => new PostgresContext(
|
||||
// _configuration.GetDatabaseConnection("postgres"),
|
||||
// _environment.IsDevelopment()));
|
||||
// services.AddScoped<DbContext>(x => x.GetRequiredService<PostgresContext>());
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user