mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Decouple module settings from frontend service (#16324)
Co-authored-by: Danny Martini <danny@n8n.io>
This commit is contained in:
@@ -14,6 +14,7 @@ import { AUTH_COOKIE_NAME } from '@/constants';
|
||||
import { ControllerRegistry } from '@/controller.registry';
|
||||
import { License } from '@/license';
|
||||
import { rawBodyReader, bodyParser } from '@/middlewares';
|
||||
import { ModuleRegistry } from '@/modules/module-registry';
|
||||
import { PostHogClient } from '@/posthog';
|
||||
import { Push } from '@/push';
|
||||
import type { APIRequest } from '@/requests';
|
||||
@@ -300,6 +301,7 @@ export const setupTestServer = ({
|
||||
}
|
||||
}
|
||||
|
||||
await Container.get(ModuleRegistry).initModules();
|
||||
Container.get(ControllerRegistry).activate(app);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user