diff --git a/helpers/afis_science.mjs b/helpers/afis_science.mjs index 8d63771..e9ae1b0 100644 --- a/helpers/afis_science.mjs +++ b/helpers/afis_science.mjs @@ -23,8 +23,7 @@ async function postLink() { // disable_slugify: true, slug: "afis_picture", content_type: "text/markdown", - folder_image: process.cwd() + '/assets/', - image: "afis_picture_of_the_day.jpg", + image: `${process.cwd()}/assets/afis_picture_of_the_day.jpg`, message: `# ${contentOfPost} #afis #science #pseudoScience #hebdo`,