Merge pull request #3173 from oswaldoacauan/feature-check-endpoint
Add /check endpoint for HTML5 client
This commit is contained in:
commit
9ac502f13e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user