fp/packages/strapi/config/server.js

13 lines
303 B
JavaScript
Raw Normal View History

2024-01-20 16:16:14 +00:00
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
2024-07-06 08:49:51 +00:00
proxy: true,
2024-01-20 16:16:14 +00:00
app: {
keys: env.array('APP_KEYS'),
},
webhooks: {
2024-07-04 21:20:29 +00:00
populateRelations: env.bool('WEBHOOKS_POPULATE_RELATIONS', false),
2024-01-20 16:16:14 +00:00
},
2024-07-04 21:20:29 +00:00
url: env('STRAPI_URL', 'http://localhost:1337'),
2024-01-20 16:16:14 +00:00
});