use full external links for reddit posts

This commit is contained in:
lza_menace 2020-12-29 13:26:21 -08:00
parent ac05271c34
commit 142475a669

View file

@ -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)