From 3b08ea61585485ad73afa84a1daa07c68e1482b0 Mon Sep 17 00:00:00 2001 From: CodeMichael Date: Fri, 7 Aug 2015 08:30:29 -0500 Subject: allow admin to run on a sub-directory --- src/static/js/admin/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js index d337da03..48d1ab70 100644 --- a/src/static/js/admin/plugins.js +++ b/src/static/js/admin/plugins.js @@ -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) { -- cgit v1.2.3 From 6f6de64c4a14af9c191d30759a9c5706c510b754 Mon Sep 17 00:00:00 2001 From: CodeMichael Date: Fri, 7 Aug 2015 08:31:08 -0500 Subject: allow /admin to run on a sub-directory --- src/static/js/admin/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/static/js/admin/settings.js b/src/static/js/admin/settings.js index 8a4473d6..42b038d5 100644 --- a/src/static/js/admin/settings.js +++ b/src/static/js/admin/settings.js @@ -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) { -- cgit v1.2.3