use site.url for torrent
This commit is contained in:
parent
dabbc37252
commit
4601f5ed4e
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ class Item(models.Model):
|
|||
video = base
|
||||
|
||||
torrent = '%s.torrent' % base
|
||||
url = "http://%s%s" % (Site.objects.get_current().domain, url)
|
||||
url = "http://%s%s" % (settings.CONFIG['site']['url'], url)
|
||||
meta = {
|
||||
'target': torrent,
|
||||
'url-list': url,
|
||||
|
|
Loading…
Reference in a new issue