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
278 B
TypeScript
17 lines
278 B
TypeScript
import type { Core } from '@strapi/strapi';
|
|
|
|
const config: Core.Config.Api = {
|
|
rest: {
|
|
defaultLimit: 25,
|
|
maxLimit: 100,
|
|
withCount: true,
|
|
strictParams: true,
|
|
},
|
|
documents: {
|
|
strictParams: true,
|
|
strictRelations: true,
|
|
},
|
|
};
|
|
|
|
export default config;
|