From 76e7f1ea002b82f26ac1f101715453eca29cf655 Mon Sep 17 00:00:00 2001 From: pictuga Date: Wed, 14 May 2014 15:05:14 +0200 Subject: [PATCH] Try to use more generic 302/303 redirections Still far from being great, but at least I can use it on both morss.it and test.morss.it now --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index f68d5a3..315f78f 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -786,7 +786,7 @@ def doFacebook(url, environ, headers, options, cache): # headers headers['status'] = '303 See Other' - headers['location'] = 'http://morss.it/' + headers['location'] = 'http://{domain}/'.format(domain=environ['SERVER_NAME']) log('fb done') return