debug: add logging to check if article content type loads

This commit is contained in:
echo 2026-02-28 15:29:41 +01:00
parent a8c0ab8884
commit 005d368dc7

View File

@ -16,5 +16,9 @@ export default {
* This gives you an opportunity to set up your data model, * This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic. * 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']);
},
}; };