浏览代码

Reduce screenshot width

Gaël Métais 10 年之前
父节点
当前提交
b5ac42792e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/server/controllers/apiController.js

+ 1 - 1
lib/server/controllers/apiController.js

@@ -78,7 +78,7 @@ var ApiController = function(app) {
             if (run.params.screenshot) {
             if (run.params.screenshot) {
                 
                 
                 // Replace the empty promise created earlier with Q.resolve()
                 // Replace the empty promise created earlier with Q.resolve()
-                screenshotPromise = screenshot.toThumbnail(600)
+                screenshotPromise = screenshot.toThumbnail(400)
                 
                 
                     // Read screenshot
                     // Read screenshot
                     .then(function(screenshotBuffer) {
                     .then(function(screenshotBuffer) {