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
(cherry picked from commit b2fa516a47
)
This commit is contained in:
parent
01e6439281
commit
f121c6f543
|
@ -49,4 +49,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