You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Generally check that the TinyPEN API is running. * Perform a query for an object we know is there. * @return boolean * */asyncconnected(){// Send a /query to ping TinyPentry{// FIXME something less expensiveconsttheone=awaitthis.find({"_id": "11111"})returntheone.length===1}catch(err){console.error(err)returnfalse}}
Is it possible to do something less expensive, such as a HEAD request of some kind instead?
The text was updated successfully, but these errors were encountered:
Current (4/1/24)
Is it possible to do something less expensive, such as a
HEAD
request of some kind instead?The text was updated successfully, but these errors were encountered: