Update claim.html
This commit is contained in:
parent
ff9f6a0989
commit
69e4e532f9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
@ -33,4 +33,4 @@
|
|||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue