Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/0000ff1ce90ffcacbd9e8f9f8c7b692a664f763e You should set ROOT_URL correctly, otherwise the web may not work correctly.

Inject base url if set before theme file url, see issue ()

pull/2181/head
Anojh Thayaparan 7 years ago committed by Jamie
parent a837868be5
commit 0000ff1ce9

@ -274,6 +274,12 @@ 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