feat(release): prepare 1.1.0 candidate
This commit is contained in:
parent
5a34f66981
commit
5205dcdfa9
736 changed files with 115667 additions and 12203 deletions
|
|
@ -10,6 +10,8 @@ using System.Threading.RateLimiting;
|
|||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
var serverStartTime = DateTime.UtcNow;
|
||||
var releaseVersion = System.Reflection.Assembly.GetEntryAssembly()?.GetName().Version?.ToString(3)
|
||||
?? "unknown";
|
||||
|
||||
// Add Services to Container
|
||||
builder.Services.AddControllers();
|
||||
|
|
@ -34,7 +36,7 @@ builder.Services.AddSwaggerGen(c =>
|
|||
c.SwaggerDoc("v1", new OpenApiInfo
|
||||
{
|
||||
Title = "D3RO Voice Cloud API & BackOffice",
|
||||
Version = "v1",
|
||||
Version = releaseVersion,
|
||||
Description = "D3RO Voice Self-Hosted Cloud Backend for NAS & Docker"
|
||||
});
|
||||
});
|
||||
|
|
@ -460,7 +462,7 @@ app.MapGet("/health", () => Results.Ok(new
|
|||
{
|
||||
status = "Healthy",
|
||||
service = "D3RO Voice Cloud API",
|
||||
version = "1.0.0",
|
||||
version = releaseVersion,
|
||||
uptimeSeconds = (DateTime.UtcNow - serverStartTime).TotalSeconds,
|
||||
database = File.Exists(dbPath) ? "Connected" : "Initializing",
|
||||
timestamp = DateTime.UtcNow
|
||||
|
|
@ -470,7 +472,7 @@ app.MapGet("/api/health", () => Results.Ok(new
|
|||
{
|
||||
status = "Healthy",
|
||||
service = "D3RO Voice Cloud API",
|
||||
version = "1.0.0",
|
||||
version = releaseVersion,
|
||||
uptimeSeconds = (DateTime.UtcNow - serverStartTime).TotalSeconds,
|
||||
database = File.Exists(dbPath) ? "Connected" : "Initializing",
|
||||
timestamp = DateTime.UtcNow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue