Fix URL to solidtorrent result page

This commit is contained in:
Michael Ilsaas 2021-04-28 23:57:54 +02:00
parent 4828faaa07
commit de0b735f3a
1 changed files with 1 additions and 1 deletions

View File

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