Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,13 +416,13 @@ def transform_urls(article):
links.append(LinkStruct(
content_type="text/html",
type="fulltext",
url=article.url,
url={% if article.is_remote and article.remote_url %}{{ article.remote_url }}{% else %}{{ article.url }}{% endif %},
))
if article.pdfs:
links.append(LinkStruct(
content_type="application/pdf",
type="fulltext",
url=article.pdf_url,
url={% if article.is_remote and article.remote_url %}{{ article.remote_url }}{% else %}{{ article.pdf_url }}{% endif %},
))

return links
Expand Down