docs: tweak capture delay [ci-skip]
Screenshots are better now but with Lazyloading it feels really slow. 🐢
Ideally we'd cache and use the former screenshot as placeholder and replace it with the newer version.
This commit is contained in:
parent
77bc82b92f
commit
fd6e01fd6a
|
@ -35,7 +35,7 @@ redirect_from:
|
||||||
for (var i = 0; i < sites.length; i++) {
|
for (var i = 0; i < sites.length; i++) {
|
||||||
var href = sites[i].getAttribute('href'),
|
var href = sites[i].getAttribute('href'),
|
||||||
inputUrl = encodeURIComponent(href),
|
inputUrl = encodeURIComponent(href),
|
||||||
q = 'url=' + inputUrl + '&delay=5&resizeWidth=800&resizeHeight=600',
|
q = 'url=' + inputUrl + '&delay=2&resizeWidth=800&resizeHeight=600',
|
||||||
hash = md5(b + q),
|
hash = md5(b + q),
|
||||||
resultImgUrl = apiUrl + a + '/' + hash + '/image?' + q;
|
resultImgUrl = apiUrl + a + '/' + hash + '/image?' + q;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue