GET /api/v1/streaming/health Answers with OK. Fix #8337
This commit is contained in:
父節點
5c42e8b51b
當前提交
f37fafe30b
|
@ -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);
|
||||
|
||||
|
|
載入中…
新增問題並參考