Use application_url in API version document
this handles the possible vhost in Heat API path correctly (like http://mucloud.com/heat-api) contrary to host_url. Change-Id: I2f4dbb7d98fbdf5314d5771309919c5b25a72f94 Story: 2002531 Task: 22075
This commit is contained in:
parent
80f68801d1
commit
b2fa516a47
@ -52,4 +52,4 @@ class Controller(object):
|
||||
return response
|
||||
|
||||
def get_href(self, req):
|
||||
return "%s/v1/" % req.host_url
|
||||
return "%s/v1/" % req.application_url
|
||||
|
Loading…
Reference in New Issue
Block a user