Skip to content

Commit

Permalink
Fix url issue
Browse files Browse the repository at this point in the history
  • Loading branch information
debugger22 committed Sep 30, 2016
1 parent 2f5dafe commit 987ab82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<script type="text/babel">
</script>
<script>
var url = document.location.hostname.split("//")[0];
var socket = io("http://" + url);
//var url = document.location.hostname.split("//")[0];
var socket = io(document.location.hostname);
socket.on('github', function (data) {
document.write(data);
console.log(data);
Expand Down

0 comments on commit 987ab82

Please sign in to comment.