[Pkg-javascript-commits] [sockjs-client] 149/434: Default config should be generic, not necessarily simple.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:10 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 bef442b8ca4c4c4dba5d08950c0b917b4b7cd7f7
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Thu Sep 15 12:55:32 2011 +0100

    Default config should be generic, not necessarily simple.
---
 tests/config.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/config.js b/tests/config.js
index 427c248..84a5c75 100644
--- a/tests/config.js
+++ b/tests/config.js
@@ -2,15 +2,15 @@ exports.config = {
     opts: {
         sockjs_url: "/lib/sockjs.js"
     },
-    port: 8080,
+    port: process.env.PORT || 8080,
     host: '0.0.0.0',
 
     client_opts: {
         // May be set to empty string if you don't need to test
         // cross-domain features. In other case set it to a full
         // url, like: "http://localhost:8080"
-        url: 'http://localhost:8080',
         disabled_transports: [],
+        url: '',
         sockjs_opts: {devel:true}
     }
 };

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