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
This commit is contained in:
memo
2015-10-19 16:06:47 +01:00
committed by Memo Garcia
parent 6fee7f5b49
commit a31b3bb02c

View File

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