Uncommented the posting section

This commit is contained in:
Mike Lynch 2025-03-13 09:20:47 +11:00
parent 20cc971076
commit f362b03796

View File

@ -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);
}
}