Removed port number from social redirect

This commit is contained in:
Fergal Moran
2012-10-19 13:24:42 +01:00
parent be144be7cf
commit ee08e6ead1

View File

@@ -48,8 +48,7 @@ class SocialHandler(object):
def _getPayload(request):
return {
"app_id": settings.FACEBOOK_APP_ID,
"site_url": 'http://%s:%s' % (Site.objects.get_current().domain,
request.META['SERVER_PORT']),
"site_url": 'http://%s' % Site.objects.get_current().domain,
"site_image_url": '%s/img/dss-large.png' % settings.STATIC_URL,
}