mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
!wip removed the code that should have not been there.
This commit is contained in:
parent
8927c5fa9c
commit
5425e4e109
1 changed files with 0 additions and 6 deletions
|
@ -286,12 +286,6 @@ namespace Ombi.Controllers
|
||||||
public async Task<IActionResult> GetThemeContent([FromQuery]string url)
|
public async Task<IActionResult> GetThemeContent([FromQuery]string url)
|
||||||
{
|
{
|
||||||
var css = await _githubApi.GetThemesRawContent(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");
|
return Content(css, "text/css");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue