From 6122b02c5d3009c3affc1043a856f2b424332394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sat, 13 Feb 2016 02:20:07 -0500 Subject: [PATCH] Revert "Allow The Lounge to be proxied behind a /path/ url" --- client/index.html | 6 +++--- client/js/lounge.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/index.html b/client/index.html index 6f24b438..846e8136 100644 --- a/client/index.html +++ b/client/index.html @@ -16,9 +16,9 @@ - - - + + + "> diff --git a/client/js/lounge.js b/client/js/lounge.js index a19da684..68956b9b 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -1,5 +1,5 @@ $(function() { - var socket = io({path:"./socket.io/"}); + var socket = io(); var commands = [ "/close", "/connect", @@ -38,7 +38,7 @@ $(function() { var pop; try { pop = new Audio(); - pop.src = "audio/pop.ogg"; + pop.src = "/audio/pop.ogg"; } catch (e) { pop = { play: $.noop @@ -656,7 +656,7 @@ $(function() { if (settings.badge && Notification.permission === "granted") { var notify = new Notification(msg.from + " says:", { body: msg.text.trim(), - icon: "img/logo-64.png", + icon: "/img/logo-64.png", tag: target }); notify.onclick = function() {