From 69cd1c0c7a0a0b681305baed1be33a5db63bd01a Mon Sep 17 00:00:00 2001 From: Hippo Date: Tue, 24 Dec 2019 22:52:50 +0530 Subject: [PATCH] Re-enable image uploading for push-ghost It was disabled while debugging and we left it like that by mistake :P --- functions.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions.js b/functions.js index 8f1fe58..2910aad 100644 --- a/functions.js +++ b/functions.js @@ -150,10 +150,8 @@ const pushToGhost = (postSlug) => { if (!fs.existsSync(imagePath)) { console.warn('Skipping missing image: ' + imageName) } else { - // TODO: upload pic - /* + // upload pic to server uploadDav(davPath, imagePath) - */ newLine = '![' + imageAlt + '](' + uploadedPath + '/' + imageName + ')' }