Use HEAD request
This commit is contained in:
parent
ac03795fe6
commit
5eb4778f53
@ -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({
|
return res.status(200).json({
|
||||||
status,
|
status,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user