Edit config and server
This commit is contained in:
+5
-7
@@ -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,
|
||||||
},
|
},
|
||||||
});
|
};
|
||||||
|
|||||||
@@ -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'),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user