Remove ping requests now that it has been consolidated with status requests

This commit is contained in:
Gabe Kangas
2021-06-13 14:30:18 -07:00
parent 20236a6586
commit d9a6be2ac6
3 changed files with 0 additions and 15 deletions

View File

@ -42,7 +42,6 @@ import {
URL_CONFIG,
URL_OWNCAST,
URL_STATUS,
URL_VIEWER_PING,
WIDTH_SINGLE_COL,
} from './utils/constants.js';
@ -188,12 +187,6 @@ export default class App extends Component {
this.handleOfflineMode();
this.handleNetworkingError(`Stream status: ${error}`);
});
// Ping the API to let them know we're an active viewer
fetch(URL_VIEWER_PING).catch((error) => {
this.handleOfflineMode();
this.handleNetworkingError(`Viewer PING error: ${error}`);
});
}
setConfigData(data = {}) {