Establish a /heartbeat
endpoint or something in your backend that just always returns 200 OK
.
this._http.get('/heartbeat').subscribe(() => {
// yep, good to go
}, (err) => {
// ruh roh
});
Establish a /heartbeat
endpoint or something in your backend that just always returns 200 OK
.
this._http.get('/heartbeat').subscribe(() => {
// yep, good to go
}, (err) => {
// ruh roh
});