]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/commitdiff
Use server at localhost
authorMichal Sojka <michal.sojka@cvut.cz>
Wed, 8 Aug 2018 13:50:13 +0000 (15:50 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Wed, 8 Aug 2018 13:53:46 +0000 (15:53 +0200)
This makes it easier to hack on the terminal. When we build the mtaio
for the terminal, buildroot patches the correct URL in.

html/index.html

index 07152a910220549a13d66f2ec828cfe8a97c72ca..afc244f2dfa71c97ab975ae8ec527e4da0f00441 100644 (file)
@@ -6,7 +6,7 @@
 <script>
     function loadServerScript() {
        let script = document.createElement('script');
-       script.src = "http://10.35.95.2/coffee/js";
+       script.src = "http://localhost:5000/js";
        document.head.append(script);
        script.onerror = function() {
            this.parentElement.removeChild(this);