Fix issue #1088 (Ocelot Administration doesn't work with .NET Core 3.x)

This commit is contained in:
EL Aisati Ahmed
2020-02-04 18:20:33 +01:00
parent 157737ef01
commit f4eb93b66c
3 changed files with 18 additions and 15 deletions

View File

@ -27,7 +27,13 @@
}
app.UseAuthentication();
app.UseMvc();
app.UseRouting();
app.UseAuthorization();
app.UseEndpoints(endpoints =>
{
endpoints.MapDefaultControllerRoute();
endpoints.MapControllers();
});
});
}