mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed the access token
This commit is contained in:
parent
bea8551cd3
commit
4d8f3dfad5
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue