Update on the injection of "HttpContext"
This commit is contained in:
@@ -49,8 +49,6 @@ namespace skydiveLogs_api
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddMvc(options => { options.EnableEndpointRouting = false; });
|
||||
//.SetCompatibilityVersion(CompatibilityVersion.Version_3_0);
|
||||
|
||||
services.AddHttpContextAccessor();
|
||||
|
||||
// JWT
|
||||
|
||||
Reference in New Issue
Block a user