Use HEAD request

This commit is contained in:
Michael Shamoon 2022-10-14 14:19:15 -07:00
parent ac03795fe6
commit 5eb4778f53

View File

@ -13,7 +13,9 @@ export default async function handler(req, res) {
});
}
const [status] = await httpProxy(pingURL);
const [status] = await httpProxy(pingURL, {
method: "HEAD"
});
return res.status(200).json({
status,