mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 17:44:52 -04:00
fixed again ...
This commit is contained in:
parent
1fd36458a6
commit
1914573634
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue