Edit config and server
This commit is contained in:
+5
-7
@@ -1,9 +1,7 @@
|
||||
module.exports = ({ env }) => ({
|
||||
responses: {
|
||||
privateAttributes: ['_v', 'created_at'],
|
||||
},
|
||||
module.exports = {
|
||||
rest: {
|
||||
defaultLimit: 100,
|
||||
maxLimit: 250,
|
||||
defaultLimit: 25,
|
||||
maxLimit: 100,
|
||||
withCount: true,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -3,7 +3,6 @@ const cronTasks = require("./cron-task");
|
||||
module.exports = ({ env }) => ({
|
||||
host: env('HOST', '0.0.0.0'),
|
||||
port: env.int('PORT', 1337),
|
||||
url: env('STRAPI_URL', null),
|
||||
app: {
|
||||
keys: env.array('APP_KEYS'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user