Merge pull request #2786 from mikeri/solidtorrents

Fix URL to solidtorrent result page
This commit is contained in:
Noémi Ványi 2021-04-29 21:29:59 +02:00 committed by GitHub
commit f1058070f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def response(resp):
'seed': result["swarm"]["seeders"],
'leech': result["swarm"]["leechers"],
'title': result["title"],
'link': "https://solidtorrents.net/view/" + result["_id"],
'url': "https://solidtorrents.net/view/" + result["_id"],
'filesize': result["size"],
'magnetlink': result["magnet"],
'template': "torrent.html",