|
|
@ -71,6 +71,10 @@ namespace Jellyfin.Server.Extensions
|
|
|
|
// Clear app parts to avoid other assemblies being picked up
|
|
|
|
// Clear app parts to avoid other assemblies being picked up
|
|
|
|
.ConfigureApplicationPartManager(a => a.ApplicationParts.Clear())
|
|
|
|
.ConfigureApplicationPartManager(a => a.ApplicationParts.Clear())
|
|
|
|
.AddApplicationPart(typeof(StartupController).Assembly)
|
|
|
|
.AddApplicationPart(typeof(StartupController).Assembly)
|
|
|
|
|
|
|
|
.AddJsonOptions(options =>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
options.JsonSerializerOptions.PropertyNamingPolicy = null;
|
|
|
|
|
|
|
|
})
|
|
|
|
.AddControllersAsServices();
|
|
|
|
.AddControllersAsServices();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|