mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Newsletter permalinks now get FQDN.
This commit is contained in:
parent
19c154f036
commit
40a779a9ca
1 changed files with 4 additions and 2 deletions
|
@ -62,8 +62,10 @@ class EmailNewsletter:
|
||||||
"story_title": params['subject'],
|
"story_title": params['subject'],
|
||||||
"story_content": story_content,
|
"story_content": story_content,
|
||||||
"story_author_name": params['from'],
|
"story_author_name": params['from'],
|
||||||
"story_permalink": reverse('newsletter-story',
|
"story_permalink": "https://%s%s" % (
|
||||||
kwargs={'story_hash': story_hash}),
|
Site.objects.get_current().domain,
|
||||||
|
reverse('newsletter-story',
|
||||||
|
kwargs={'story_hash': story_hash})),
|
||||||
"story_guid": params['signature'],
|
"story_guid": params['signature'],
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue