From f362b037961b84f04e18af5cd5ab7d137d0bd6a8 Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Thu, 13 Mar 2025 09:20:47 +1100 Subject: [PATCH] Uncommented the posting section --- poptimal.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/poptimal.js b/poptimal.js index f7aa5a5..772b5ed 100644 --- a/poptimal.js +++ b/poptimal.js @@ -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); } }