Fix blog url

main
Bob Mottram 2021-02-16 21:00:26 +00:00
parent 5adcfaf1aa
commit c89caff090
1 changed files with 1 additions and 1 deletions

View File

@ -1478,7 +1478,7 @@ def createBlogPost(baseDir: str,
inReplyTo, inReplyToAtomUri, subject, inReplyTo, inReplyToAtomUri, subject,
schedulePost, schedulePost,
eventDate, eventTime, location, True) eventDate, eventTime, location, True)
blogJson['object']['url'] = blogJson['object']['url'].replace('/@', '/users/')
_appendCitationsToBlogPost(baseDir, nickname, domain, blogJson) _appendCitationsToBlogPost(baseDir, nickname, domain, blogJson)
return blogJson return blogJson