[Pkg-javascript-commits] [sockjs-client] 03/434: Don't hardcode private ip address in tests

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:46:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 78cc5993346241625bf2db1e1d11da41945a8190
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Fri Jul 22 15:57:19 2011 +0100

    Don't hardcode private ip address in tests
---
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 049ce10..7905727 100644
--- a/index.html
+++ b/index.html
@@ -30,7 +30,7 @@
   </code>
 
 <script>
-    var test_server_url = 'http://172.16.173.128:9999';
+    var test_server_url = document.location.protocol + '//' + document.location.hostname + ':9999';
     function log(a, e) {
             if ('console' in window && 'log' in window.console) {
                 console.log(a, e);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list