From 3e08f63cdb70fbf14eaa40234ab8ec464572eb61 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Oct 2020 22:19:22 +0100 Subject: [PATCH] News mirror path --- newsdaemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newsdaemon.py b/newsdaemon.py index bcb3e4e3..31fc34ae 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -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):