diff --git a/serve.py b/serve.py index fe3d212..0fbbebe 100644 --- a/serve.py +++ b/serve.py @@ -15,10 +15,6 @@ ABOUT_URL = os.environ.get("ABOUT_URL", "https://www.dandiarchive.org").rstrip("/") -PUBLISH_API_URL = os.environ.get( - "PUBLISH_API_URL", "https://publish.dandiarchive.org/api" -).rstrip() - JUPYTERHUB_URL = os.environ.get( "JUPYTERHUB_URL", "https://hub.dandiarchive.org" ).rstrip() @@ -164,13 +160,12 @@ async def goto_dandiset_version(request, dataset, version): async def server_info(request): return response.json( { - "version": "1.0.0", + "version": "1.1.0", "cli-minimal-version": "0.6.0", "cli-bad-versions": [], "services": { "girder": {"url": GIRDER_URL}, "webui": {"url": GUI_URL}, - "api": {"url": PUBLISH_API_URL}, "jupyterhub": {"url": JUPYTERHUB_URL}, }, }, diff --git a/test_serve.py b/test_serve.py index b892bbc..2a3a738 100644 --- a/test_serve.py +++ b/test_serve.py @@ -72,13 +72,12 @@ def test_server_info(): _, r = app.test_client.get("/server-info") r.raise_for_status() assert r.json == { - "version": "1.0.0", + "version": "1.1.0", "cli-minimal-version": "0.6.0", "cli-bad-versions": [], "services": { "girder": {"url": "https://girder.dandiarchive.org"}, "webui": {"url": "https://gui.dandiarchive.org"}, - "api": {"url": "https://publish.dandiarchive.org/api"}, "jupyterhub": {"url": "https://hub.dandiarchive.org"}, }, }