update local endpoint
This commit is contained in:
parent
1fc1308042
commit
d45cd3ed09
3 changed files with 2 additions and 3 deletions
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue