mirror of
https://github.com/ansible/awx.git
synced 2026-07-10 07:48:05 -02:30
Do not use ip_address on instances anymore.
This commit is contained in:
@@ -98,4 +98,4 @@ class HAMiddleware(object):
|
||||
})
|
||||
|
||||
# Redirect to the base page of the primary instance.
|
||||
return HttpResponseRedirect('http://%s/' % primary.ip_address)
|
||||
return HttpResponseRedirect('http://%s/' % primary.hostname)
|
||||
|
||||
Reference in New Issue
Block a user