laravel-uptime-monitor
laravel-uptime-monitor copied to clipboard
Allow custom success status codes
Sometimes it might be useful to allow custom http status codes such as 401
which might be a password protected website that is still online.
This PR allows us to configure additional allowed http status codes:
'uptime_check' => [
// ...
'additional_status_codes' => [401],
]
Please let me know if this is useful for this package and I'll try to figure out how to add tests for this behaviour.