Add css to replace missing css in custom view

This commit is contained in:
Matthew Strasiotto
2022-08-14 13:13:06 +10:00
committed by Matthew Strasitoto
parent f810ea7259
commit 7e5738c65f
5 changed files with 427 additions and 3 deletions
+11
View File
@@ -121,4 +121,15 @@ public class SSOViewsController : ControllerBase
{
return ServeView("SSO-Auth-ApiClient.js");
}
/// <summary>
/// Returns the css that is usually a part of the default view.
/// </summary>
/// <returns>A stylesheet.</returns>
// [Authorize(Policy = "DefaultAuthorization")]
[HttpGet("emby-restyle.css")]
public ActionResult GetRestyledEmbyElements()
{
return ServeView("SSO-Auth-emby-restyle.css");
}
}