Update claim.html

This commit is contained in:
Bill Bittner 2017-05-26 01:58:00 -07:00 committed by GitHub
parent ff9f6a0989
commit 69e4e532f9

View file

@ -16,7 +16,7 @@
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io();
var url = document.URL.substring(document.URL.indexOf('3000/') + 5);
var url = document.URL.substring(document.URL.indexOf('spee.ch/') + 5);
// request the claim through the socket
socket.emit("claim-request", url);
// listen for updates