mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
fixed again ...
This commit is contained in:
parent
1fd36458a6
commit
1914573634
@ -9,7 +9,7 @@ var MMSocket = function(moduleName) {
|
|||||||
|
|
||||||
// Private Methods
|
// Private Methods
|
||||||
var base = "/";
|
var base = "/";
|
||||||
if (typeof config !== "undefined") {
|
if ((typeof config !== "undefined") && (typeof config.basePath !== "undefined")) {
|
||||||
base = config.basePath;
|
base = config.basePath;
|
||||||
}
|
}
|
||||||
self.socket = io("/" + self.moduleName, {
|
self.socket = io("/" + self.moduleName, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user