Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/c263462fea8ac4e104b22ca2db42a87d53caf802 You should set ROOT_URL correctly, otherwise the web may not work correctly.
pull/1514/head
Jamie.Rees 8 years ago
parent a4637a139b
commit c263462fea

@ -55,6 +55,7 @@ namespace Ombi.Schedule.Jobs.Ombi
c.WriteLine("Looking for updates now");
var updates = await OmbiService.GetUpdates(branch);
c.WriteLine("Updates: {0}", updates);
var serverVersion = updates.UpdateVersionString;
Logger.LogInformation(LoggingEvents.Updater, "Service Version {0}", updates.UpdateVersionString);
@ -108,6 +109,7 @@ namespace Ombi.Schedule.Jobs.Ombi
}
if (download == null)
{
c.WriteLine("There were no downloads");
return;
}

@ -221,12 +221,6 @@ namespace Ombi
Authorization = new [] { new HangfireAuthorizationFilter() }
});
app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
c.ShowJsonEditor();
});
// Setup the scheduler
@ -255,6 +249,12 @@ namespace Ombi
name: "spa-fallback",
defaults: new { controller = "Home", action = "Index" });
});
app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
c.ShowJsonEditor();
});
}
private static void ApiKeyMiddlewear(IApplicationBuilder app, IServiceProvider serviceProvider)

Loading…
Cancel
Save