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