mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(core): Upgrade to express 5 to address CVE-2024-52798 (#14332)
This commit is contained in:
committed by
GitHub
parent
02d11b5e7a
commit
4110f3188e
@@ -100,8 +100,12 @@ export class WorkerServer {
|
||||
const { health, overwrites, metrics } = this.endpointsConfig;
|
||||
|
||||
if (health) {
|
||||
this.app.get('/healthz', async (_, res) => res.send({ status: 'ok' }));
|
||||
this.app.get('/healthz/readiness', async (_, res) => await this.readiness(_, res));
|
||||
this.app.get('/healthz', async (_, res) => {
|
||||
res.send({ status: 'ok' });
|
||||
});
|
||||
this.app.get('/healthz/readiness', async (_, res) => {
|
||||
await this.readiness(_, res);
|
||||
});
|
||||
}
|
||||
|
||||
if (overwrites) {
|
||||
|
||||
Reference in New Issue
Block a user