change path for image in osm wiki post
This commit is contained in:
parent
1b9ba732ee
commit
23dca076c4
@ -288,7 +288,7 @@ function sendMessageWikiTagOfTheDay(message, download_description_src) {
|
||||
let configPost = {
|
||||
author: 'curator',
|
||||
// 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,
|
||||
}
|
||||
if(download_description_src) {
|
||||
@ -323,4 +323,4 @@ function sendMessageWikiTagOfTheDay(message, download_description_src) {
|
||||
console.log('no image description')
|
||||
sendPostMastodon(configPost)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user