added basename config

use basename in socket.io path fix #1973
This commit is contained in:
Leon Kiefer 2020-04-05 23:00:38 +02:00
parent ca3275757b
commit 54542f7f07
4 changed files with 6 additions and 1 deletions

View file

@ -9,7 +9,7 @@ var MMSocket = function(moduleName) {
// Private Methods
self.socket = io("/" + self.moduleName, {
path: window.location.pathname + "socket.io"
path: config.basename + "socket.io"
});
var notificationCallback = function() {};