mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix redirect port (always to http)
(cherry picked from commit eef1ee6d4f34c3ebdf6c7cb6e764169d36e8e69d)
This commit is contained in:
parent
979c506bec
commit
ed22ffa810
@ -33,7 +33,7 @@ define(function(require) {
|
||||
var upgrade_url = config['upgrade']['url'];
|
||||
|
||||
if (redirect_port) {
|
||||
window.location = document.URL.replace(/(https?:\/\/)([^:\/]+).*$/,"$1$2:"+redirect_port)
|
||||
window.location = document.URL.replace(/(https?:\/\/)([^:\/]+).*$/,"http://$2:"+redirect_port)
|
||||
} else {
|
||||
window.location = upgrade_url
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user