aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/BrandingController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Controllers/BrandingController.cs')
-rw-r--r--Jellyfin.Api/Controllers/BrandingController.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Jellyfin.Api/Controllers/BrandingController.cs b/Jellyfin.Api/Controllers/BrandingController.cs
index d580fedff..67790c0e4 100644
--- a/Jellyfin.Api/Controllers/BrandingController.cs
+++ b/Jellyfin.Api/Controllers/BrandingController.cs
@@ -51,12 +51,7 @@ namespace Jellyfin.Api.Controllers
public ActionResult<string> GetBrandingCss()
{
var options = _serverConfigurationManager.GetConfiguration<BrandingOptions>("branding");
- if (string.IsNullOrEmpty(options.CustomCss))
- {
- return NoContent();
- }
-
- return options.CustomCss;
+ return options.CustomCss ?? string.Empty;
}
}
}