mirror of https://github.com/zulip/zulip.git
run-dev: Update for new get_updates URL
(imported from commit 2617ddd1c2ec377d6f17f1aafd0da251226d39b8)
This commit is contained in:
parent
91209f9304
commit
6de3321f02
|
@ -33,7 +33,7 @@ class Resource(resource.Resource):
|
|||
def getChild(self, name, request):
|
||||
request.requestHeaders.setRawHeaders('X-Forwarded-Host', [proxy_host])
|
||||
|
||||
if request.uri in ['/get_updates', '/api/v1/get_messages']:
|
||||
if request.uri in ['/json/get_updates', '/api/v1/get_messages']:
|
||||
return proxy.ReverseProxyResource('localhost', 9993, '/'+name)
|
||||
|
||||
return proxy.ReverseProxyResource('localhost', 9992, '/'+name)
|
||||
|
|
Loading…
Reference in New Issue