Article is deliberately minimal: title, slug, Markdown body, cover image and category. No Author content type — the administrator is the only writer. The bootstrap hook grants the Public role find/findOne on the two content types and disables self-registration, so the public API is read-only and the site has no front-end accounts.
17 lines
316 B
TypeScript
17 lines
316 B
TypeScript
import type { Core } from '@strapi/strapi';
|
|
|
|
const config: Core.Config.Middlewares = [
|
|
'strapi::logger',
|
|
'strapi::errors',
|
|
'strapi::security',
|
|
'strapi::cors',
|
|
'strapi::poweredBy',
|
|
'strapi::query',
|
|
'strapi::body',
|
|
'strapi::session',
|
|
'strapi::favicon',
|
|
'strapi::public',
|
|
];
|
|
|
|
export default config;
|