aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etherpad/etc/etherpad.localdev-default.properties2
-rw-r--r--etherpad/src/etherpad/pro/pro_utils.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/etherpad/etc/etherpad.localdev-default.properties b/etherpad/etc/etherpad.localdev-default.properties
index 07dce96..98327fd 100644
--- a/etherpad/etc/etherpad.localdev-default.properties
+++ b/etherpad/etc/etherpad.localdev-default.properties
@@ -15,7 +15,7 @@ listen = 9000
logDir = ./data/logs
modulePath = ./src
motdPage = /ep/pad/view/ro.3PfHCD0ApLc/latest?fullScreen=1&slider=0&sidebar=0
-topdomains = localhost
+topdomains = localhost,localbox.info
transportPrefix = /comet
transportUseWildcardSubdomains = true
useHttpsUrls = false
diff --git a/etherpad/src/etherpad/pro/pro_utils.js b/etherpad/src/etherpad/pro/pro_utils.js
index 2322262..1198b95 100644
--- a/etherpad/src/etherpad/pro/pro_utils.js
+++ b/etherpad/src/etherpad/pro/pro_utils.js
@@ -49,7 +49,7 @@ function getRequestSuperdomain() {
var parts = request.domain.split('.');
while (parts.length > 0) {
var domain = parts.join('.');
- if (domainEnabled[domain]) {
+ if (domainEnabled(domain)) {
return domain;
}
parts.shift();