mirror of https://github.com/calzoneman/sync.git
Remove config key that is no longer used
This commit is contained in:
parent
c4ad9099c2
commit
014f3f008e
|
@ -48,7 +48,6 @@ http:
|
|||
# one port must be specified as default for the purposes of generating
|
||||
# links with the appropriate port
|
||||
default-port: 8080
|
||||
domain: 'http://localhost'
|
||||
# Specifies the root domain for cookies. If you have multiple domains
|
||||
# e.g. a.example.com and b.example.com, the root domain is example.com
|
||||
root-domain: 'localhost'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.50.0",
|
||||
"version": "3.50.1",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue