From a31b3bb02ca4e92c1339aae51765ade4149d6bf4 Mon Sep 17 00:00:00 2001 From: memo Date: Mon, 19 Oct 2015 16:06:47 +0100 Subject: [PATCH] ApiClient now looks for internalURL instead of retrieving publicURL endpoint for freezer-api, the web ui looks for the InternalURL to avoid https issues Change-Id: I2e655c81558c9b382c355927b69116a6c13a455f --- freezer_ui/api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freezer_ui/api/api.py b/freezer_ui/api/api.py index 40facf2..19baa91 100644 --- a/freezer_ui/api/api.py +++ b/freezer_ui/api/api.py @@ -62,7 +62,7 @@ def get_service_url(request): for c in catalog: if c['name'] == 'freezer': for e in c['endpoints']: - return e['publicURL'] + return e['internalURL'] else: return get_hardcoded_url()