New Angular based web version #1

Closed
thomas.nuyken wants to merge 150 commits from main into ddd
Showing only changes of commit e29c5b2458 - Show all commits

View File

@@ -7,7 +7,7 @@ public class GetServerInfo
public record Response(
string FullVersion,
string CommitId,
DateTime CommitDate,
DateTimeOffset CommitDate,
string Environment);
public static RouteHandlerBuilder MapEndpoint(IEndpointRouteBuilder builder)
@@ -23,7 +23,7 @@ public class GetServerInfo
return TypedResults.Ok(new Response(
ThisAssembly.AssemblyInformationalVersion,
ThisAssembly.GitCommitId,
ThisAssembly.GitCommitDate,
new DateTimeOffset(ThisAssembly.GitCommitDate, TimeSpan.Zero),
environment.EnvironmentName));
}
}