!wip removed the code that should have not been there.

pull/2194/head
Jamie Rees 7 years ago
parent 8927c5fa9c
commit 5425e4e109

@ -286,12 +286,6 @@ namespace Ombi.Controllers
public async Task<IActionResult> GetThemeContent([FromQuery]string url)
{
var css = await _githubApi.GetThemesRawContent(url);
var ombiSettings = await OmbiSettings();
if (ombiSettings.BaseUrl != null)
{
int index = css.IndexOf("/api/");
css = css.Insert(index, ombiSettings.BaseUrl);
}
return Content(css, "text/css");
}

Loading…
Cancel
Save