From 005d368dc700d240b69abb9432a64a76f8450445 Mon Sep 17 00:00:00 2001 From: echo Date: Sat, 28 Feb 2026 15:29:41 +0100 Subject: [PATCH] debug: add logging to check if article content type loads --- cms/cms/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cms/cms/src/index.ts b/cms/cms/src/index.ts index 58be268..e1c5bca 100644 --- a/cms/cms/src/index.ts +++ b/cms/cms/src/index.ts @@ -16,5 +16,9 @@ export default { * This gives you an opportunity to set up your data model, * run jobs, or perform some special logic. */ - bootstrap(/* { strapi }: { strapi: Core.Strapi } */) {}, + async bootstrap({ strapi }) { + console.log('=== Strapi Bootstrap ==='); + console.log('Available content types:', Object.keys(strapi.contentTypes || {})); + console.log('Article content type exists:', !!strapi.contentTypes['api::article.article']); + }, };