Add CSS output formatter.

This commit is contained in:
crobibero
2020-06-06 16:51:21 -06:00
parent 601e4a88c9
commit 598cd94c4d
2 changed files with 39 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ namespace Jellyfin.Server.Extensions
opts.UseGeneralRoutePrefix(baseUrl);
opts.OutputFormatters.Insert(0, new CamelCaseJsonProfileFormatter());
opts.OutputFormatters.Insert(0, new PascalCaseJsonProfileFormatter());
opts.OutputFormatters.Add(new CssOutputFormatter());
})
// Clear app parts to avoid other assemblies being picked up