mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
use '/api/routes' instead of '/api/routes/'
avoids need for recent fix in configproxy
This commit is contained in:
@@ -195,7 +195,7 @@ class Proxy(Base):
|
|||||||
@gen.coroutine
|
@gen.coroutine
|
||||||
def fetch_routes(self, client=None):
|
def fetch_routes(self, client=None):
|
||||||
"""Fetch the proxy's routes"""
|
"""Fetch the proxy's routes"""
|
||||||
resp = yield self.api_request('/', client=client)
|
resp = yield self.api_request('', client=client)
|
||||||
raise gen.Return(json.loads(resp.body.decode('utf8', 'replace')))
|
raise gen.Return(json.loads(resp.body.decode('utf8', 'replace')))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user