mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Merge pull request #34 from chrismeyersfsu/fix-tower_ha_redirect
redirect to primary host with the original requesting path preserved
This commit is contained in:
commit
837eb7ae2c
@ -102,4 +102,4 @@ class HAMiddleware(object):
|
||||
})
|
||||
|
||||
# Redirect to the base page of the primary instance.
|
||||
return HttpResponseRedirect('http://%s/' % primary.hostname)
|
||||
return HttpResponseRedirect('http://%s%s' % (primary.hostname, request.path))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user