From ee08e6ead15f4f6315784d396e0d22fbf99eff25 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Fri, 19 Oct 2012 13:24:42 +0100 Subject: [PATCH] Removed port number from social redirect --- spa/social.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spa/social.py b/spa/social.py index 4202922..f2c60d2 100644 --- a/spa/social.py +++ b/spa/social.py @@ -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, }