mirror of
https://github.com/strapi/strapi.git
synced 2025-07-19 07:02:26 +00:00
16 lines
303 B
JavaScript
16 lines
303 B
JavaScript
'use strict';
|
|
|
|
const responseHandlers = require('./src/response-handlers');
|
|
|
|
module.exports = {
|
|
settings: {
|
|
cors: {
|
|
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'Cache-Control'],
|
|
},
|
|
responses: {
|
|
enabled: true,
|
|
handlers: responseHandlers,
|
|
},
|
|
},
|
|
};
|