Skip to content
Browse files

Stupid me

  • Loading branch information...
1 parent 759be2f commit e55e06a5d09df1f283157fd966ae68d79a277615 @boopathi committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/script.js
View
2 static/script.js
@@ -68,7 +68,7 @@ var Queue = {
$( function() {
- var socket = io.connect("http://localhost");
+ var socket = io.connect("http://"+window.location.hostname);
socket.on('question', function(data) {
for(var i=0;i<4;i++) {
for(var j=0;j<4;j++) {

0 comments on commit e55e06a

Please sign in to comment.
Something went wrong with that request. Please try again.