Fixed the access token

pull/3338/head
Jamie Rees 5 years ago
parent bea8551cd3
commit 4d8f3dfad5

@ -172,14 +172,14 @@ namespace Ombi
{
ContentTypeProvider = provider,
});
app.UseMiddleware<ErrorHandlingMiddleware>();
app.UseMiddleware<ApiKeyMiddlewear>();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.UseMiddleware<ErrorHandlingMiddleware>();
app.UseMiddleware<ApiKeyMiddlewear>();
app.UseCors("MyPolicy");
app.UseSwagger();

Loading…
Cancel
Save