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 src="/socket.io/socket.io.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var socket = io();
|
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
|
// request the claim through the socket
|
||||||
socket.emit("claim-request", url);
|
socket.emit("claim-request", url);
|
||||||
// listen for updates
|
// listen for updates
|
||||||
|
|
Loading…
Reference in a new issue