Higher res for main img
This commit is contained in:
parent
38651429db
commit
e6b13dad62
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ function socketeer() {
|
||||||
var fp = path.join(__dirname, 'cached', fn)
|
var fp = path.join(__dirname, 'cached', fn)
|
||||||
|
|
||||||
if (!cachedImages[url]) {
|
if (!cachedImages[url]) {
|
||||||
const response = await (await fetch(thumborURL + "128x128/" + url)).arrayBuffer()
|
const response = await (await fetch(thumborURL + "200x200/" + url)).arrayBuffer()
|
||||||
fs.writeFileSync(fp, Buffer.from(response))
|
fs.writeFileSync(fp, Buffer.from(response))
|
||||||
|
|
||||||
cachedImages[url] = fn
|
cachedImages[url] = fn
|
||||||
|
|
Loading…
Reference in a new issue