Remove unused connection string reference
parent
f6a2dac0b3
commit
fcd48342b5
|
@ -15,7 +15,6 @@ var builder = WebApplication.CreateBuilder(args);
|
||||||
ConfigurationManager configuration = builder.Configuration;
|
ConfigurationManager configuration = builder.Configuration;
|
||||||
|
|
||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection");
|
|
||||||
var settings = SettingService.GetSettings();
|
var settings = SettingService.GetSettings();
|
||||||
|
|
||||||
builder.Services.AddMvc(options => options.EnableEndpointRouting = false);
|
builder.Services.AddMvc(options => options.EnableEndpointRouting = false);
|
||||||
|
|
Loading…
Reference in New Issue