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
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user