21 lines
465 B
JavaScript
21 lines
465 B
JavaScript
module.exports = [
|
|
'strapi::logger',
|
|
'strapi::errors',
|
|
'strapi::security',
|
|
{
|
|
name: 'strapi::cors',
|
|
config: {
|
|
origin: ['*'],
|
|
methods: ['GET'],
|
|
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'HX-Current-URL', 'HX-Request', 'HX-Target', 'HX-Trigger'],
|
|
keepHeaderOnError: true
|
|
}
|
|
},
|
|
'strapi::poweredBy',
|
|
'strapi::query',
|
|
'strapi::body',
|
|
'strapi::session',
|
|
'strapi::favicon',
|
|
'strapi::public',
|
|
];
|