Remove config key that is no longer used

This commit is contained in:
Calvin Montgomery 2017-09-27 21:50:51 -07:00
parent c4ad9099c2
commit 014f3f008e
3 changed files with 1 additions and 4 deletions

View file

@ -32,7 +32,6 @@ var defaults = {
}
],
http: {
domain: "http://localhost",
"default-port": 8080,
"root-domain": "localhost",
"alt-domains": ["127.0.0.1"],
@ -263,7 +262,6 @@ function preprocessConfig(cfg) {
}
// Strip trailing slashes from domains
cfg.http.domain = cfg.http.domain.replace(/\/*$/, "");
cfg.https.domain = cfg.https.domain.replace(/\/*$/, "");
// Socket.IO URLs