Skip to content

Commit

Permalink
Don't hardcode localhost in the static file
Browse files Browse the repository at this point in the history
  • Loading branch information
chbrown committed Mar 8, 2012
1 parent 5125bdf commit e43e95f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Run it:
--appkey <your app key> \
--appsecret <your app secret> \
--oauthtoken <your dropbox account token> \
--oauthsecret <your dropbox account secret
--oauthsecret <your dropbox account secret>
*All of those `<your whatever>` values will be un-quoted strings of hexadecimals.*

Expand Down
2 changes: 1 addition & 1 deletion static/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<iframe style="width: 100%;">Page will be loaded here.</iframe>

<script>
var socket = io.connect('http://localhost');
var socket = io.connect(window.location.origin, {port: 8080});
socket.on('log', function (data) {
console.log(data);
$("#log").append(data);
Expand Down

0 comments on commit e43e95f

Please sign in to comment.