From 142475a66963fb62c5ddf9d7eda18e8d2fc06689 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 29 Dec 2020 13:26:21 -0800 Subject: [PATCH] use full external links for reddit posts --- suchwow/reddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suchwow/reddit.py b/suchwow/reddit.py index 6796733..3c4b71c 100644 --- a/suchwow/reddit.py +++ b/suchwow/reddit.py @@ -41,7 +41,7 @@ def make_post(post): f"Timestamp (UTC): {post.timestamp}\n\n", "Show this poster some love by sending WOW to the following address:\n\n", f"`{wallet.get_address(account=post.account_index)}`\n\n\n\n", - f"[View Post]({url_for('post.read', id=post.id)})" + f"[View Post]({url_for('post.read', id=post.id, _external=True)})" ] comment = "".join(_comment) reddit_post = Reddit().post(title, url)