aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts14
1 files changed, 10 insertions, 4 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index b11575b34..6218644cf 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -295,8 +295,14 @@ const STATIC_PATHS = {
295let STATIC_MAX_AGE = '30d' 295let STATIC_MAX_AGE = '30d'
296 296
297// Videos thumbnail size 297// Videos thumbnail size
298const THUMBNAILS_SIZE = '200x110' 298const THUMBNAILS_SIZE = {
299const PREVIEWS_SIZE = '640x480' 299 width: 200,
300 height: 110
301}
302const PREVIEWS_SIZE = {
303 width: 640,
304 height: 480
305}
300 306
301// Sub folders of cache directory 307// Sub folders of cache directory
302const CACHE = { 308const CACHE = {
@@ -314,7 +320,7 @@ const USER_ROLES: { [ id: string ]: UserRole } = {
314 320
315// --------------------------------------------------------------------------- 321// ---------------------------------------------------------------------------
316 322
317const OPENGRAPH_COMMENT = '<!-- open graph tags -->' 323const OPENGRAPH_AND_OEMBED_COMMENT = '<!-- open graph and oembed tags -->'
318 324
319// --------------------------------------------------------------------------- 325// ---------------------------------------------------------------------------
320 326
@@ -344,7 +350,7 @@ export {
344 JOBS_FETCHING_INTERVAL, 350 JOBS_FETCHING_INTERVAL,
345 LAST_MIGRATION_VERSION, 351 LAST_MIGRATION_VERSION,
346 OAUTH_LIFETIME, 352 OAUTH_LIFETIME,
347 OPENGRAPH_COMMENT, 353 OPENGRAPH_AND_OEMBED_COMMENT,
348 PAGINATION_COUNT_DEFAULT, 354 PAGINATION_COUNT_DEFAULT,
349 PODS_SCORE, 355 PODS_SCORE,
350 PREVIEWS_SIZE, 356 PREVIEWS_SIZE,