No longer use Thumbor
This commit is contained in:
parent
4a9dd40fee
commit
86440517b1
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -190,7 +190,7 @@ function socketeer() {
|
|||
var fp = path.join(imgCache, fn)
|
||||
|
||||
if (!cachedImages.imgs[url]) {
|
||||
const response = await (await fetch(thumborURL + imgRes + thumborArgs + url)).arrayBuffer()
|
||||
const response = await (await fetch(url)).arrayBuffer()
|
||||
|
||||
fs.writeFileSync(fp, Buffer.from(response))
|
||||
cachedImages.imgs[url] = {
|
||||
|
|
Loading…
Reference in a new issue