Updates docker config and adds HttpContext
All checks were successful
Build, Push and Run Container / build (push) Successful in 23s
All checks were successful
Build, Push and Run Container / build (push) Successful in 23s
Removes a redundant host config in the docker file. Adds HttpContextAccessor to the service collection. This component is used to provide access to the current request context.
This commit is contained in:
@@ -26,6 +26,7 @@ builder.Services.AddHttpClient();
|
||||
builder.Services.AddRazorPages();
|
||||
builder.Services.AddHealthChecks()
|
||||
.AddAsyncCheck("", cancellationToken => Task.FromResult(HealthCheckResult.Healthy()), ["ready"]); //TODO: Check tag
|
||||
builder.Services.AddHttpContextAccessor();
|
||||
|
||||
builder.Services.AddAuthentication(o =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user