Re-enable image uploading for push-ghost

It was disabled while debugging and we left it like that by
mistake :P
This commit is contained in:
Hippo 2019-12-24 22:52:50 +05:30
parent f6638045d0
commit 69cd1c0c7a

View file

@ -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 + ')'
}