diff --git a/bigbluebutton-html5/imports/startup/server/index.js b/bigbluebutton-html5/imports/startup/server/index.js index 7e04ee4c36..be5882cd4c 100644 --- a/bigbluebutton-html5/imports/startup/server/index.js +++ b/bigbluebutton-html5/imports/startup/server/index.js @@ -9,6 +9,14 @@ Meteor.startup(function () { logger.info('server start'); }); +WebApp.connectHandlers.use('/check', (req, res, next) => { + let payload = { html5clientStatus: 'running' }; + + res.setHeader('Content-Type', 'application/json'); + res.writeHead(200); + res.end(JSON.stringify(payload)); +}); + export const myQueue = new EventQueue(); export const eventEmitter = new (Npm.require('events').EventEmitter);