mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-28 05:24:23 -05:00
Improve the appearance of tweet images by doubling the image scale factor
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user