mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
retry ping > 500 too
This commit is contained in:
@@ -21,7 +21,7 @@ export default async function handler(req, res) {
|
||||
});
|
||||
let endTime = performance.now();
|
||||
|
||||
if (status >= 400 && status < 500) {
|
||||
if (status >= 400) {
|
||||
// try one more time as a GET in case HEAD is rejected for whatever reason
|
||||
startTime = performance.now();
|
||||
[status] = await httpProxy(pingURL);
|
||||
|
||||
Reference in New Issue
Block a user