mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	[manual] Remove /messages/latest API and related legacy code.
This requires doing a puppet apply on our servers to take effect properly. (imported from commit 19dc56f071f07a5d2571eef49dd835121b2e82b6)
This commit is contained in:
		| @@ -83,8 +83,7 @@ class Resource(resource.Resource): | ||||
|     def getChild(self, name, request): | ||||
|         request.requestHeaders.setRawHeaders('X-Forwarded-Host', [proxy_host]) | ||||
|  | ||||
|         if (request.uri in ['/json/get_updates', '/api/v1/get_messages', '/json/get_events'] or | ||||
|             request.uri.startswith('/api/v1/messages/latest') or | ||||
|         if (request.uri in ['/json/get_events'] or | ||||
|             request.uri.startswith('/api/v1/events') or | ||||
|             request.uri.startswith('/sockjs')): | ||||
|             return proxy.ReverseProxyResource('localhost', tornado_port, '/'+name) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user