change path for image in osm wiki post

This commit is contained in:
Tykayn 2023-01-23 09:11:37 +00:00 committed by TyKayn
parent 1b9ba732ee
commit 23dca076c4
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ function sendMessageWikiTagOfTheDay(message, download_description_src) {
let configPost = { let configPost = {
author: 'curator', author: 'curator',
// document.querySelector('.d_image img').attributes['src'] // document.querySelector('.d_image img').attributes['src']
image: 'osm_post_' + randomIntFromInterval(1 , 5) + '.jpg', image: '/home/tykayn/www/multi-account-post-schedule-mastodon/assets/osm_post_' + randomIntFromInterval(1 , 5) + '.jpg',
message, message,
} }
if(download_description_src) { if(download_description_src) {
@ -323,4 +323,4 @@ function sendMessageWikiTagOfTheDay(message, download_description_src) {
console.log('no image description') console.log('no image description')
sendPostMastodon(configPost) sendPostMastodon(configPost)
} }
} }