allow /admin to run on a sub-directory
parent
02c022aab1
commit
6f6de64c4a
|
@ -10,7 +10,7 @@ $(document).ready(function () {
|
||||||
|
|
||||||
//connect
|
//connect
|
||||||
var room = url + "settings";
|
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) {
|
socket.on('settings', function (settings) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue