aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index dc08805b9..bb141456a 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -18,6 +18,12 @@ const PODS_SCORE = {
18// Number of retries we make for the make retry requests (to friends...) 18// Number of retries we make for the make retry requests (to friends...)
19let REQUEST_RETRIES = 10 19let REQUEST_RETRIES = 10
20 20
21// Videos thumbnail size
22const THUMBNAILS_SIZE = '200x110'
23
24// Path for access to thumbnails with express router
25const THUMBNAILS_STATIC_PATH = '/static/thumbnails'
26
21// Special constants for a test instance 27// Special constants for a test instance
22if (isTestInstance() === true) { 28if (isTestInstance() === true) {
23 FRIEND_BASE_SCORE = 20 29 FRIEND_BASE_SCORE = 20
@@ -32,7 +38,9 @@ module.exports = {
32 FRIEND_BASE_SCORE: FRIEND_BASE_SCORE, 38 FRIEND_BASE_SCORE: FRIEND_BASE_SCORE,
33 INTERVAL: INTERVAL, 39 INTERVAL: INTERVAL,
34 PODS_SCORE: PODS_SCORE, 40 PODS_SCORE: PODS_SCORE,
35 REQUEST_RETRIES: REQUEST_RETRIES 41 REQUEST_RETRIES: REQUEST_RETRIES,
42 THUMBNAILS_SIZE: THUMBNAILS_SIZE,
43 THUMBNAILS_STATIC_PATH: THUMBNAILS_STATIC_PATH
36} 44}
37 45
38// --------------------------------------------------------------------------- 46// ---------------------------------------------------------------------------