Skip to content
Snippets Groups Projects
Unverified Commit f37fafe3 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Add health endpoint to streaming API (#8441)

GET /api/v1/streaming/health

Answers with OK. Fix #8337
parent 5c42e8b5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment