Files
api.gong.gp/config/middlewares.js
T

21 lines
465 B
JavaScript
Raw Normal View History

2024-03-10 16:58:40 +01:00
module.exports = [
'strapi::logger',
'strapi::errors',
'strapi::security',
2024-03-13 06:53:49 +01:00
{
name: 'strapi::cors',
config: {
origin: ['*'],
methods: ['GET'],
2024-03-17 23:07:08 +01:00
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'HX-Current-URL', 'HX-Request', 'HX-Target', 'HX-Trigger'],
2024-03-13 06:53:49 +01:00
keepHeaderOnError: true
}
},
2024-03-10 16:58:40 +01:00
'strapi::poweredBy',
'strapi::query',
'strapi::body',
'strapi::session',
'strapi::favicon',
'strapi::public',
];