This makes it easier to hack on the terminal. When we build the mtaio
for the terminal, buildroot patches the correct URL in.
<script>
function loadServerScript() {
let script = document.createElement('script');
<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);
document.head.append(script);
script.onerror = function() {
this.parentElement.removeChild(this);