diff options
-rw-r--r-- | streaming/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/streaming/index.js b/streaming/index.js index b5f6dbd87..1c6004b77 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -452,6 +452,12 @@ const startWorker = (workerId) => { app.use(setRequestId); app.use(setRemoteAddress); app.use(allowCrossDomain); + + app.get('/api/v1/streaming/health', (req, res) => { + res.writeHead(200, { 'Content-Type': 'text/plain' }); + res.end('OK'); + }); + app.use(authenticationMiddleware); app.use(errorMiddleware); |