Skip to content

Commit b0915ee

Browse files
committed
Added env variable configuration
1 parent b00470e commit b0915ee

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

config/defaults.js

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
module.exports = {
2+
nearest: {
3+
radius: {
4+
DEFAULT: 100,
5+
MAX: 2000
6+
},
7+
limit: {
8+
DEFAULT: 10,
9+
MAX: 100
10+
}
11+
},
12+
search: {
13+
limit: {
14+
DEFAULT: 10,
15+
MAX: 100
16+
}
17+
},
18+
bulkGeocode: {
19+
geolocations: {
20+
MAX: 100
21+
}
22+
},
23+
bulkLookups: {
24+
postcodes: {
25+
MAX: 100
26+
}
27+
},
28+
nearestOutcodes: {
29+
radius: {
30+
DEFAULT: 5000,
31+
MAX: 25000
32+
},
33+
limit: {
34+
DEFAULT: 10,
35+
MAX: 100
36+
}
37+
}
38+
};

0 commit comments

Comments
 (0)