From 3f25df1a216c7211df4aa7a471e1e5ae6ffb52a8 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Sun, 12 May 2019 13:21:35 -0700 Subject: [PATCH] Improve the appearance of tweet images by doubling the image scale factor --- src/app/screenshots/screenshots.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/screenshots/screenshots.js b/src/app/screenshots/screenshots.js index d478afb..0fc1912 100644 --- a/src/app/screenshots/screenshots.js +++ b/src/app/screenshots/screenshots.js @@ -7,6 +7,7 @@ const puppeteer = require('puppeteer'); const viewport = { width: 1012, // Twitter's in-stream image width is 506px, 506*2 = 1012 height: 600, + deviceScaleFactor: 2, }; function startHttpServer() {