Allow public access to the dev/health url and change response to 500

This commit is contained in:
Stig Lindqvist 2016-06-17 13:43:39 +12:00
parent a19fcb42e6
commit c24c52e77f
1 changed files with 1 additions and 2 deletions

View File

@ -19,8 +19,7 @@ class DevHealthController extends Controller
// health check does not require permission to run
$checker = new EnvironmentChecker('health', 'Site health');
$checker->init('');
$checker->setErrorCode(404);
$checker->setErrorCode(500);
return $checker;
}