diff --git a/src/pages/api/ping.js b/src/pages/api/ping.js index 09934f06..66eab281 100644 --- a/src/pages/api/ping.js +++ b/src/pages/api/ping.js @@ -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);