many changes, also Newtonsoft.Json 13.0.a → 13.0.b
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Sockeye.Api.Controllers
|
||||
public async Task<IActionResult> Get()
|
||||
{
|
||||
var report = await _healthCheckService.CheckHealthAsync();
|
||||
Response.Headers.Add("Cache-Control", "no-store, no-cache");
|
||||
Response.Headers.Append("Cache-Control", "no-store, no-cache");
|
||||
return report.Status == HealthStatus.Healthy ? Ok(report.Status.ToString()) : StatusCode(503, report.Status.ToString());
|
||||
}
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user