Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 2751626

Browse files
committed
Disabled the data expiry behaviour as default
1 parent 5ff6664 commit 2751626

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module.exports = {
33
PORT: process.env.PORT || 3000,
44
MONGO_URL: process.env.MONGODB_URI || "mongodb://localhost:27017/jsonbox-io-dev",
55
REQUEST_LIMIT_PER_HOUR: 100,
6-
ENABLE_DATA_EXPIRY: true, // Once switched on the index will be be set in mongodb. Might need to remove it in order to switch off the behaviour
6+
ENABLE_DATA_EXPIRY: false, // Once switched on the index will be be set in mongodb. Might need to remove it in order to switch off the behaviour
77
DATA_EXPIRY_IN_DAYS: 30,
8-
FILTER_IP_SET: [], // example ['172.29.0.1']
9-
FILTER_OPTIONS: { mode: 'allow' },
8+
FILTER_IP_SET: [], // example ['172.29.0.1']
9+
FILTER_OPTIONS: { mode: "allow" },
1010
};

0 commit comments

Comments
 (0)