mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
Fix redirect port (always to http)
(cherry picked from commit eef1ee6d4f)
This commit is contained in:
1 parent
979c506bec
commit
ed22ffa810
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user