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 nowmaster
parent
031b67a8db
commit
76e7f1ea00
|
@ -786,7 +786,7 @@ def doFacebook(url, environ, headers, options, cache):
|
||||||
|
|
||||||
# headers
|
# headers
|
||||||
headers['status'] = '303 See Other'
|
headers['status'] = '303 See Other'
|
||||||
headers['location'] = 'http://morss.it/'
|
headers['location'] = 'http://{domain}/'.format(domain=environ['SERVER_NAME'])
|
||||||
|
|
||||||
log('fb done')
|
log('fb done')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue