Edit config and server

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-12 06:22:37 +04:00
parent d229e38d2f
commit f2795bc9b1
2 changed files with 5 additions and 8 deletions
+5 -7
View File
@@ -1,9 +1,7 @@
module.exports = ({ env }) => ({ module.exports = {
responses: {
privateAttributes: ['_v', 'created_at'],
},
rest: { rest: {
defaultLimit: 100, defaultLimit: 25,
maxLimit: 250, maxLimit: 100,
withCount: true,
}, },
}); };
-1
View File
@@ -3,7 +3,6 @@ const cronTasks = require("./cron-task");
module.exports = ({ env }) => ({ module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'), host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337), port: env.int('PORT', 1337),
url: env('STRAPI_URL', null),
app: { app: {
keys: env.array('APP_KEYS'), keys: env.array('APP_KEYS'),
}, },