mirror of
https://github.com/strapi/strapi.git
synced 2025-07-25 01:49:34 +00:00

- Hooks registry - D&P CT migrations - i18N CT migrations - Umzug with js / sql migrations - Eslint updates
24 lines
403 B
JavaScript
24 lines
403 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
default: ({ env }) => ({
|
|
jwtSecret: env('JWT_SECRET'),
|
|
jwt: {
|
|
expiresIn: '30d',
|
|
},
|
|
ratelimit: {
|
|
interval: 60000,
|
|
max: 10,
|
|
},
|
|
layout: {
|
|
user: {
|
|
actions: {
|
|
create: 'User.create', // Use the User plugin's controller.
|
|
update: 'User.update',
|
|
},
|
|
},
|
|
},
|
|
}),
|
|
validator() {},
|
|
};
|