fix assemblyversion lookup
parent
00447f7738
commit
7972b36b72
|
@ -61,7 +61,7 @@ builder.Services.AddRateLimiter(options => options.AddFixedWindowLimiter("feeds"
|
|||
}));
|
||||
|
||||
var serviceName = typeof(Program).Assembly.FullName;
|
||||
var serviceVersion = typeof(Program).GetCustomAttribute<AssemblyInformationalVersionAttribute>()!.InformationalVersion;
|
||||
var serviceVersion = typeof(Program).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()!.InformationalVersion;
|
||||
var serviceResource =
|
||||
ResourceBuilder
|
||||
.CreateDefault()
|
||||
|
|
Loading…
Reference in New Issue