State of OMG-LEGION prior to merge
This commit is contained in:
@@ -67,9 +67,9 @@ namespace PartSource.Api
|
||||
services.AddDbContext<PartSourceContext>(options =>
|
||||
options.UseSqlServer(Configuration.GetConnectionString("PartSourceDatabase"))
|
||||
);
|
||||
services.AddDbContext<FitmentContext>(options =>
|
||||
options.UseSqlServer(Configuration.GetConnectionString("FitmentDatabase"))
|
||||
);
|
||||
//services.AddDbContext<FitmentContext>(options =>
|
||||
// options.UseSqlServer(Configuration.GetConnectionString("FitmentDatabase"))
|
||||
//);
|
||||
}
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
@@ -86,12 +86,12 @@ namespace PartSource.Api
|
||||
|
||||
app.UseCors("Default");
|
||||
|
||||
app.UseSwagger();
|
||||
app.UseReDoc(c =>
|
||||
{
|
||||
c.SpecUrl = "/swagger/v2/swagger.json";
|
||||
c.ExpandResponses(string.Empty);
|
||||
});
|
||||
//app.UseSwagger();
|
||||
//app.UseReDoc(c =>
|
||||
//{
|
||||
// c.SpecUrl = "/swagger/v2/swagger.json";
|
||||
// c.ExpandResponses(string.Empty);
|
||||
//});
|
||||
|
||||
// app.UseExceptionHandler("/Error");
|
||||
// app.UseHttpsRedirection();
|
||||
|
||||
Reference in New Issue
Block a user