mirror of
https://github.com/strapi/strapi.git
synced 2025-07-20 23:47:46 +00:00
19 lines
331 B
JavaScript
19 lines
331 B
JavaScript
'use strict';
|
|
|
|
const cronTasks = require('./src/cron-tasks');
|
|
|
|
module.exports = ({ env }) => ({
|
|
host: env('HOST', '0.0.0.0'),
|
|
port: env.int('PORT', 1337),
|
|
admin: {
|
|
autoOpen: false,
|
|
auth: {
|
|
secret: env('ADMIN_JWT_SECRET', 'example-token'),
|
|
},
|
|
},
|
|
cron: {
|
|
enabled: true,
|
|
tasks: cronTasks,
|
|
},
|
|
});
|