UNPKG

strapi-ts

Version:

An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MongoDB, MySQL, MariaDB, PostgreSQL, SQLite

17 lines (14 loc) 309 B
'use strict'; module.exports = strapi => { return { initialize() { strapi.app.use(async (ctx, next) => { await next(); ctx.set( 'X-Powered-By', strapi.config.get('middleware.settings.poweredBy.value', 'Strapi <strapi.io>') ); }); }, }; };