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:
parent
f6638045d0
commit
69cd1c0c7a
1 changed files with 1 additions and 3 deletions
|
@ -150,10 +150,8 @@ const pushToGhost = (postSlug) => {
|
||||||
if (!fs.existsSync(imagePath)) {
|
if (!fs.existsSync(imagePath)) {
|
||||||
console.warn('Skipping missing image: ' + imageName)
|
console.warn('Skipping missing image: ' + imageName)
|
||||||
} else {
|
} else {
|
||||||
// TODO: upload pic
|
// upload pic to server
|
||||||
/*
|
|
||||||
uploadDav(davPath, imagePath)
|
uploadDav(davPath, imagePath)
|
||||||
*/
|
|
||||||
|
|
||||||
newLine = '![' + imageAlt + '](' + uploadedPath + '/' + imageName + ')'
|
newLine = '![' + imageAlt + '](' + uploadedPath + '/' + imageName + ')'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue