repo: janusweb action: commit revision: path_from: revision_from: 1d299616c0521df1e06fa72372ce67078c631039: path_to: revision_to:
commit 1d299616c0521df1e06fa72372ce67078c631039 Author: James BaicoianuDate: Thu Apr 26 03:32:03 2018 -0700 Skip proxy for localhost urls diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -377,7 +377,7 @@ elation.require([
if (fullurl[0] == '/' && fullurl[1] != '/') fullurl = this.baseurl + fullurl;
if (!fullurl.match(/^https?:/) && !fullurl.match(/^\/\//)) {
fullurl = self.location.origin + fullurl;
- } else {
+ } else if (!fullurl.match(/^https?:\/\/(localhost|127\.0\.0\.1)/)) {
fullurl = proxyurl + fullurl;
}
-----END OF PAGE-----