It's likely that your app may need to check the status of the hub server. This is a simple API call that returns a JSON object with the status of the hub server.
import hub from '@ezkljs/hub'
async function checkHealth() {
const health = await hub.checkHealth()
console.log(health)
}
Try it out