Uncommented the posting section
This commit is contained in:
parent
20cc971076
commit
f362b03796
@ -163,14 +163,10 @@ async function main() {
|
|||||||
const pngBuffer = pngData.asPng();
|
const pngBuffer = pngData.asPng();
|
||||||
|
|
||||||
await promises.writeFile(imgfile, pngBuffer);
|
await promises.writeFile(imgfile, pngBuffer);
|
||||||
console.log(cf);
|
|
||||||
console.log(imgfile);
|
console.log(imgfile);
|
||||||
console.log(alt_text);
|
console.log(alt_text);
|
||||||
if( cf['base_url'] ) {
|
if( cf['base_url'] ) {
|
||||||
//await post_image(imgfile, alt_text, cf);
|
await post_image(imgfile, alt_text, cf);
|
||||||
} else {
|
|
||||||
console.log(imgfile);
|
|
||||||
console.log(alt_text);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user