Commit 85f05e13 authored by ikuradon's avatar ikuradon 🐈

Remove original healthcheck.

parent 2cdb7687
Pipeline #524 passed with stage
in 23 minutes and 31 seconds
......@@ -307,11 +307,6 @@ const startWorker = (workerId) => {
return;
}
if (req.path === '/api/v1/streaming/ping.json') {
next();
return;
}
const authRequired = alwaysRequireAuth || !PUBLIC_ENDPOINTS.some(endpoint => endpoint === req.path);
const allowedScopes = [];
......@@ -578,10 +573,6 @@ const startWorker = (workerId) => {
});
});
app.get('/api/v1/streaming/ping.json', (req, res) => {
res.send('{"ping": "pong"}');
});
const wss = new WebSocketServer({ server, verifyClient: wsVerifyClient });
wss.on('connection', (ws, req) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment