diff options
| author | crobibero <cody@robibe.ro> | 2020-06-06 16:51:21 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-06 16:51:21 -0600 |
| commit | 598cd94c4d5fd8911c9e30af7be47ca6eac7c975 (patch) | |
| tree | bd22795c735d8308d811996853efe6358b54e375 /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | |
| parent | 601e4a88c94ea0ccaab9f3c148d4bbdca2e532ee (diff) | |
Add CSS output formatter.
Diffstat (limited to 'Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs')
| -rw-r--r-- | Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs index cb4189587..1c7fcbc06 100644 --- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs +++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs @@ -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 |
