From 164174a6abac3e391e95d479a98749e20eb86f34 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Oct 2017 10:35:27 +0200 Subject: Use preview instead of thumbnail for oembed --- server/initializers/constants.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'server/initializers/constants.ts') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 6218644cf..491fb78f9 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -300,8 +300,13 @@ const THUMBNAILS_SIZE = { height: 110 } const PREVIEWS_SIZE = { - width: 640, - height: 480 + width: 560, + height: 315 +} + +const EMBED_SIZE = { + width: 560, + height: 315 } // Sub folders of cache directory @@ -343,6 +348,7 @@ export { CACHE, CONFIG, CONSTRAINTS_FIELDS, + EMBED_SIZE, FRIEND_SCORE, JOB_STATES, JOBS_CONCURRENCY, -- cgit v1.2.3