summaryrefslogtreecommitdiffstats
path: root/etherpad/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/main.js')
-rw-r--r--etherpad/src/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/etherpad/src/main.js b/etherpad/src/main.js
index 6faa71a..b77d5ee 100644
--- a/etherpad/src/main.js
+++ b/etherpad/src/main.js
@@ -268,7 +268,7 @@ function checkHost() {
}
// we require the domain to either be <superdomain> or a pro domain request.
- if (SUPERDOMAINS[request.domain]) {
+ if (domainEnabled(request.domain)) {
return;
}
if (pro_utils.isProDomainRequest()) {