Update claim.html

This commit is contained in:
Bill Bittner 2017-05-26 02:00:27 -07:00 committed by GitHub
parent 69e4e532f9
commit f71b986679

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('spee.ch/') + 5);
var url = document.URL.substring(document.URL.indexOf('spee.ch/') + 8);
// request the claim through the socket
socket.emit("claim-request", url);
// listen for updates