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
master
pictuga 2014-05-14 15:05:14 +02:00
parent 031b67a8db
commit 76e7f1ea00
1 changed files with 1 additions and 1 deletions

View File

@ -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