mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -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