fp/packages/strapi/config/server.js

12 lines
288 B
JavaScript

module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
webhooks: {
populateRelations: env.bool('WEBHOOKS_POPULATE_RELATIONS', false),
},
url: env('STRAPI_URL', 'http://localhost:1337'),
});