]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/commitdiff
Use correct URL of the rtime server
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 7 Aug 2018 11:04:43 +0000 (13:04 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 7 Aug 2018 11:04:43 +0000 (13:04 +0200)
We use plain IP address in an attempt to avoid CIIRC's NAT, which
would prevent us knowing the source IP address. The idea is that we
will allow the request only from the IP address of the terminal.

html/index.html

index 43b1d9a29035ce173b8f0048ba8ca6ef47a57e16..63fed344ea40ef3f4c06e5e6a8e35d4dd71f9e3d 100644 (file)
@@ -4,7 +4,7 @@
 <script>
     function loadServerScript() {
        let script = document.createElement('script');
-       script.src = "//rtime.felk.cvut.cz:5000/js";
+       script.src = "http://10.35.95.2/coffee/js";
        document.head.append(script);
        script.onerror = function() {
            this.parentElement.removeChild(this);