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:
Frank Taillandier 2018-10-12 19:24:49 +02:00 committed by GitHub
parent f65bcd9920
commit 77bc82b92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;