fix layout help text. use api probe definition
This commit is contained in:
parent
8c8138f662
commit
9be35a21f6
3 changed files with 3 additions and 2 deletions
|
|
@ -239,7 +239,7 @@
|
|||
if (dev) {
|
||||
let file = $('print-filename').value;
|
||||
fetch(
|
||||
`https://live.grid.space/api/grid_send?uuid=${uuid}&file=${encodeURIComponent(file + "." + fileext)}`,
|
||||
`${API.probe.live}/api/grid_send?uuid=${uuid}&file=${encodeURIComponent(file + "." + fileext)}`,
|
||||
{method: "POST", body: gcode}
|
||||
)
|
||||
.then(t => t.text())
|
||||
|
|
|
|||
|
|
@ -251,6 +251,7 @@
|
|||
clear: clearPrint
|
||||
},
|
||||
probe: {
|
||||
live : "https://live.grid.space",
|
||||
grid : function() { return false },
|
||||
local : function() { return false }
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue