Skip to content

Commit

Permalink
Fix hostname path
Browse files Browse the repository at this point in the history
  • Loading branch information
atmoner committed Feb 20, 2017
1 parent 4e050b1 commit 4cc39a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ <h2>Video Stream</h2>
<script>

$(function() {
//console.log(window.location.hostname);
var api = 'http://localhost:3000/';
//console.log(window.location.hostname);
var api = 'http://'+window.location.hostname+':3000/';
var refreshIntervalId = null;
$('#stream').click(function() {
window.infoHash = $('input').val();
Expand Down

0 comments on commit 4cc39a2

Please sign in to comment.