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

@ -2,7 +2,6 @@
## `C` cosmetic, `F` functional, `P` performance, `B` bug fix
* `C` hover mode to see device / settings selections
* `F` implement an in-app bug reporting system
* `F` extend mesh object to store raw + annotations (rot,scale,pos)
* share raw data w/ dups, encode/decode

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;