run-dev: Update for new get_updates URL

(imported from commit 2617ddd1c2ec377d6f17f1aafd0da251226d39b8)
This commit is contained in:
Keegan McAllister 2012-10-16 18:54:08 -04:00
parent 91209f9304
commit 6de3321f02
1 changed files with 1 additions and 1 deletions

View File

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