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
|
video = base
|
||||||
|
|
||||||
torrent = '%s.torrent' % 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 = {
|
meta = {
|
||||||
'target': torrent,
|
'target': torrent,
|
||||||
'url-list': url,
|
'url-list': url,
|
||||||
|
|
Loading…
Reference in a new issue