mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: add git commit hash to Serilog context
This commit is contained in:
parent
2e387ecee9
commit
c38ca2e7fa
4 changed files with 9 additions and 6 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue