debug: add logging to check if article content type loads
This commit is contained in:
parent
a8c0ab8884
commit
005d368dc7
@ -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']);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user