mirror of https://github.com/calzoneman/sync.git
Use correct io.domain for sioSource in acp
This commit is contained in:
parent
42e590c6fd
commit
92e05b96c8
|
@ -45,7 +45,7 @@ function handleAcp(req, res, user) {
|
||||||
if (req.secure) {
|
if (req.secure) {
|
||||||
sio = Config.get("https.domain") + ":" + Config.get("https.port");
|
sio = Config.get("https.domain") + ":" + Config.get("https.port");
|
||||||
} else {
|
} else {
|
||||||
sio = Config.get("http.domain") + ":" + Config.get("io.port");
|
sio = Config.get("io.domain") + ":" + Config.get("io.port");
|
||||||
}
|
}
|
||||||
sio += "/socket.io/socket.io.js";
|
sio += "/socket.io/socket.io.js";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue