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