Permalink
Browse files

Detect origin

  • Loading branch information...
1 parent 8487a7e commit 833e164768617bb1d84823336564d5d00eec7715 Pablo committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/client.js
View
@@ -2,7 +2,7 @@ $(function () {
var config = { nick: "user" + ~~(Math.random() * 1000)
, channel: "#teambox"
- , server: "talker-bridge.jit.su:80"
+ , server: document.location.origin
};
// get channel from url params

0 comments on commit 833e164

Please sign in to comment.