feat: add git commit hash to Serilog context

This commit is contained in:
spiral
2022-01-24 08:13:59 -05:00
parent 2e387ecee9
commit c38ca2e7fa
4 changed files with 9 additions and 6 deletions

View File

@@ -115,7 +115,7 @@ public class Startup
// add X-PluralKit-Version header
app.Use((ctx, next) =>
{
ctx.Response.Headers.Add("X-PluralKit-Version", BuildInfoService.Version);
ctx.Response.Headers.Add("X-PluralKit-Version", BuildInfoService.FullVersion);
return next();
});