mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fixed the access token
This commit is contained in:
parent
bea8551cd3
commit
4d8f3dfad5
1 changed files with 3 additions and 3 deletions
|
@ -173,13 +173,13 @@ namespace Ombi
|
||||||
ContentTypeProvider = provider,
|
ContentTypeProvider = provider,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.UseMiddleware<ErrorHandlingMiddleware>();
|
||||||
|
app.UseMiddleware<ApiKeyMiddlewear>();
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
|
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
app.UseAuthorization();
|
app.UseAuthorization();
|
||||||
|
|
||||||
app.UseMiddleware<ErrorHandlingMiddleware>();
|
|
||||||
app.UseMiddleware<ApiKeyMiddlewear>();
|
|
||||||
|
|
||||||
app.UseCors("MyPolicy");
|
app.UseCors("MyPolicy");
|
||||||
app.UseSwagger();
|
app.UseSwagger();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue