mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Add hook which gets called once n8n is ready
This commit is contained in:
@@ -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', []);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user