update local endpoint

This commit is contained in:
Stewart Allen 2020-07-09 23:17:13 -04:00
commit d45cd3ed09
3 changed files with 2 additions and 3 deletions

View file

@ -239,7 +239,7 @@
if (dev) {
let file = $('print-filename').value;
fetch(
`/api/grid_send?uuid=${uuid}&file=${encodeURIComponent(file + "." + fileext)}`,
`https://live.grid.space/api/grid_send?uuid=${uuid}&file=${encodeURIComponent(file + "." + fileext)}`,
{method: "POST", body: gcode}
)
.then(t => t.text())

View file

@ -1884,7 +1884,7 @@
function showLocal() {
showModal('local');
fetch("/api/grid_local")
fetch("https://live.grid.space/api/grid_local")
.then(r => r.json())
.then(j => {
let devc = 0;