[Pkg-javascript-commits] [sockjs-client] 67/350: Fix tests when not running on localhost

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:03:43 UTC 2016


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

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

commit 3b5fa52c142281e709df2f4102fdcb259a97099d
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Fri May 30 15:59:36 2014 -0400

    Fix tests when not running on localhost
---
 tests/sockjs_server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sockjs_server.js b/tests/sockjs_server.js
index cc426dc..801514c 100644
--- a/tests/sockjs_server.js
+++ b/tests/sockjs_server.js
@@ -60,7 +60,7 @@ server.addListener('upgrade', function(req, res){
 });
 
 sockjs_app.install({
-  sockjs_url: 'http://localhost:'+port+'/lib/sockjs.js',
+  sockjs_url: '/lib/sockjs.js',
   websocket: true
 }, server);
 

-- 
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