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

Fixed the api key being case sensative

pull/2478/head
Jamie Rees 7 years ago
parent 62b0c4d450
commit 51475b05c0

@ -28,7 +28,7 @@ namespace Ombi
if (context.Request.Path.StartsWithSegments(new PathString("/api")))
{
//Let's check if this is an API Call
if (context.Request.Headers.Keys.Contains("ApiKey"))
if (context.Request.Headers.Keys.Contains("ApiKey", StringComparer.InvariantCultureIgnoreCase))
{
// validate the supplied API key
// Validate it

Loading…
Cancel
Save