fix layout help text. use api probe definition

This commit is contained in:
Stewart Allen 2020-10-29 14:39:30 -04:00
commit 9be35a21f6
3 changed files with 3 additions and 2 deletions

View file

@ -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())

View file

@ -251,6 +251,7 @@
clear: clearPrint
},
probe: {
live : "https://live.grid.space",
grid : function() { return false },
local : function() { return false }
},