We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037a0e0 commit 0ef9a8cCopy full SHA for 0ef9a8c
src/node/routes/index.ts
@@ -66,11 +66,7 @@ export const register = async (
66
app.use(bodyParser.urlencoded({ extended: true }))
67
68
const common: express.RequestHandler = (req, _, next) => {
69
- // /healthz|/healthz/ needs to be excluded otherwise health checks will make
70
- // it look like code-server is always in use.
71
- if (!/^\/healthz\/?$/.test(req.url)) {
72
- heart.beat()
73
- }
+ heart.beat()
74
75
// Add common variables routes can use.
76
req.args = args
0 commit comments