docs: add a bit of delay before capture [ci-skip]
Some images in the showcase show not fully loaded pages. A bit of delay should help. Documentation: https://docs.capture.techulus.in/docs/screenshot-options
This commit is contained in:
parent
f65bcd9920
commit
77bc82b92f
|
@ -35,7 +35,7 @@ redirect_from:
|
|||
for (var i = 0; i < sites.length; i++) {
|
||||
var href = sites[i].getAttribute('href'),
|
||||
inputUrl = encodeURIComponent(href),
|
||||
q = 'url=' + inputUrl + '&resizeWidth=800&resizeHeight=600',
|
||||
q = 'url=' + inputUrl + '&delay=5&resizeWidth=800&resizeHeight=600',
|
||||
hash = md5(b + q),
|
||||
resultImgUrl = apiUrl + a + '/' + hash + '/image?' + q;
|
||||
|
||||
|
|
Loading…
Reference in New Issue