Permalink
Browse files

Fix pro account signup link in emails

  • Loading branch information...
1 parent c3f5b66 commit 19c3aa9bc743b597b9ce32c97b193f5f30f7387e @mattsta committed Jan 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 etherpad/src/etherpad/utils.js
@@ -375,15 +375,15 @@ function isStaticRequest() {
function httpsHost(h) {
h = h.split(":")[0]; // strip any existing port
- if (appjet.config.listenSecurePort != "443") {
+ if (appjet.config.listenSecurePort && appjet.config.listenSecurePort != "443") {
h = (h + ":" + appjet.config.listenSecurePort);
}
return h;
}
function httpHost(h) {
h = h.split(":")[0]; // strip any existing port
- if (appjet.config.listenPort != "80") {
+ if (appjet.config.listenPort && appjet.config.listenPort != "80") {
h = (h + ":" + appjet.config.listenPort);
}
return h;

0 comments on commit 19c3aa9

Please sign in to comment.