allow /admin to run on a sub-directory

This commit is contained in:
CodeMichael 2015-08-07 08:31:08 -05:00
parent 02c022aab1
commit 6f6de64c4a
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ $(document).ready(function () {
//connect
var room = url + "settings";
socket = io.connect(room, {resource : resource});
socket = io.connect(room, {path: baseURL + "socket.io", resource : resource});
socket.on('settings', function (settings) {