laravel-uptime-monitor icon indicating copy to clipboard operation
laravel-uptime-monitor copied to clipboard

Allow custom success status codes

Open emilsundberg opened this issue 6 months ago • 0 comments

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.

emilsundberg avatar Aug 21 '24 21:08 emilsundberg