Permalink
Browse files

Fixes ether#301

  • Loading branch information...
JohnMcLear committed Nov 12, 2011
1 parent 4360f3b commit 737759143d4ea513d8fb259221d94cf862fa4bb0
Showing with 1 addition and 1 deletion.
  1. +1 −1 etherpad/src/etherpad/utils.js
@@ -475,7 +475,7 @@ function isStaticRequest() {
function httpsHost(h) {
h = h.split(":")[0]; // strip any existing port
- if (appjet.config.listenSecurePort != "443" && !appjet.config.hidePorts) {
+ if (appjet.config.listenSecurePort != "443" && appjet.config.listenSecurePort != "0" && !appjet.config.hidePorts) {
h = (h + ":" + appjet.config.listenSecurePort);
}
return h;

0 comments on commit 7377591

Please sign in to comment.