mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
⚡ Add hook which gets called once n8n is ready
This commit is contained in:
parent
cfe3f22204
commit
690e76e187
|
@ -1890,5 +1890,7 @@ export async function start(): Promise<void> {
|
|||
const versions = await GenericHelpers.getVersions();
|
||||
console.log(`n8n ready on ${ADDRESS}, port ${PORT}`);
|
||||
console.log(`Version: ${versions.cli}`);
|
||||
|
||||
await app.externalHooks.run('n8n.ready', []);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue