mirror of
https://github.com/strapi/strapi.git
synced 2025-07-05 16:12:18 +00:00
17 lines
337 B
JavaScript
17 lines
337 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),
|
|
url: 'http://localhost:1337',
|
|
cron: {
|
|
enabled: true,
|
|
tasks: cronTasks,
|
|
},
|
|
app: {
|
|
keys: env.array('APP_SECRETS', ['toBeModified1', 'toBeModified2']),
|
|
},
|
|
});
|