summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-10-22 16:17:10 +0100
committerJohn McLear <john@mclear.co.uk>2015-10-22 16:17:10 +0100
commit0d769632df42c5f15d7125fd448059f004c68459 (patch)
tree0f9f632f0562e76475bac3d76a3af1bf4faba5f8 /src
parentfa46f0b613c85c758d74e1cd8adb4760e33071b4 (diff)
parent68e260783ca96c5984a98d32cbd2e6dc4205bd3b (diff)
downloadetherpad-lite-0d769632df42c5f15d7125fd448059f004c68459.zip
Merge pull request #2748 from CodeMichael/develop
allow /admin to run in a subdirectory
Diffstat (limited to 'src')
-rw-r--r--src/static/js/admin/plugins.js2
-rw-r--r--src/static/js/admin/settings.js2
2 files changed, 2 insertions, 2 deletions
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) {
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) {