mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
fix: Remove warning for deprecated /health endpoint its too noisy (#37518)
Co-authored-by: Aaron Ogle <51996+geekgonecrazy@users.noreply.github.com>
This commit is contained in:
parent
821cb72bb7
commit
c6b2e7ec0e
@ -19,8 +19,6 @@ function setDefaultHeaders(res: ServerResponse) {
|
||||
* @deprecated Update infrastructure to use /livez and /readyz.
|
||||
*/
|
||||
WebApp.rawHandlers.use('/health', (_req: IncomingMessage, res: ServerResponse) => {
|
||||
SystemLogger.warn('Deprecated /health endpoint was called. Please update to /livez or /readyz.');
|
||||
|
||||
setDefaultHeaders(res);
|
||||
|
||||
res.writeHead(200);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user