Merge pull request #2748 from CodeMichael/develop
allow /admin to run in a subdirectory
This commit is contained in:
commit
0d769632df
|
@ -11,7 +11,7 @@ $(document).ready(function () {
|
|||
|
||||
//connect
|
||||
var room = url + "pluginfw/installer";
|
||||
socket = io.connect(room, {resource : resource});
|
||||
socket = io.connect(room, {path: baseURL + "socket.io", resource : resource});
|
||||
|
||||
function search(searchTerm, limit) {
|
||||
if(search.searchTerm != searchTerm) {
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue