mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
News mirror path
This commit is contained in:
1 parent
b9fc4bbf6e
commit
3e08f63cdb
1 file changed
+1
-1
+1
-1
@@ -491,7 +491,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
|
||||
mirrored = item[7]
|
||||
postUrl = url
|
||||
if mirrored and '://' in url:
|
||||
postUrl = '/newsmirror/' + url.split('://')[1]
|
||||
postUrl = '/newsmirror/' + statusNumber + '/' + url.split('://')[1]
|
||||
|
||||
# add the off-site link to the description
|
||||
if rssDescription and not dangerousMarkup(rssDescription):
|
||||
|
||||
Reference in new issue
Block a user