]>
git.proxmox.com Git - novnc-pve.git/commitdiff
projects
/
novnc-pve.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7067bd1
)
fix bug #562: set port to 443 when no port is specified
author
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 17 Sep 2014 11:33:47 +0000
(13:33 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 17 Sep 2014 11:33:47 +0000
(13:33 +0200)
This can happen if someone tries to access with revers proxy.
pveui.js
patch
|
blob
|
blame
|
history
diff --git
a/pveui.js
b/pveui.js
index 9a689f277eab5083d8323f0cf93521ea9abdc99a..61f701bc988479ec2aa217df291e9a90fb3b85b0 100644
(file)
--- a/
pveui.js
+++ b/
pveui.js
@@
-504,7
+504,7
@@
pve_start: function(callback) {
});
UI.updateSetting('host', window.location.hostname);
- UI.updateSetting('port', window.location.port);
+ UI.updateSetting('port', window.location.port
|| 443
);
UI.updateSetting('password', param.ticket);
UI.updateSetting('encrypt', true);
UI.updateSetting('true_color', true);