stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using StellaOps.Eventing;
|
||||
using StellaOps.Timeline.Core;
|
||||
using StellaOps.Timeline.WebService.Endpoints;
|
||||
@@ -22,7 +23,11 @@ builder.Services.AddSwaggerGen(options =>
|
||||
builder.Services.AddHealthChecks()
|
||||
.AddCheck<TimelineHealthCheck>("timeline");
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("timeline");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("timeline");
|
||||
|
||||
// Configure the HTTP request pipeline
|
||||
if (app.Environment.IsDevelopment())
|
||||
@@ -31,6 +36,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
// Map endpoints
|
||||
|
||||
Reference in New Issue
Block a user