diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-06-09 14:23:11 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-09 14:23:11 +0900 |
| commit | 26f937c36966f9f1636c552292c3affeb8a8082d (patch) | |
| tree | b20257de2c16618bf5e9c640f853c3ca02596861 /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | |
| parent | e153214e762173ee1f1796a579f28c63065e61f2 (diff) | |
| parent | 48cbac934ba593fc5f4fed0eb0db81061eb4a787 (diff) | |
Merge pull request #3260 from crobibero/api-css-formatter
Api css 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 |
