update local endpoint
This commit is contained in:
parent
1fc1308042
commit
d45cd3ed09
3 changed files with 2 additions and 3 deletions
1
notes.md
1
notes.md
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
## `C` cosmetic, `F` functional, `P` performance, `B` bug fix
|
## `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` implement an in-app bug reporting system
|
||||||
* `F` extend mesh object to store raw + annotations (rot,scale,pos)
|
* `F` extend mesh object to store raw + annotations (rot,scale,pos)
|
||||||
* share raw data w/ dups, encode/decode
|
* share raw data w/ dups, encode/decode
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@
|
||||||
if (dev) {
|
if (dev) {
|
||||||
let file = $('print-filename').value;
|
let file = $('print-filename').value;
|
||||||
fetch(
|
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}
|
{method: "POST", body: gcode}
|
||||||
)
|
)
|
||||||
.then(t => t.text())
|
.then(t => t.text())
|
||||||
|
|
|
||||||
|
|
@ -1884,7 +1884,7 @@
|
||||||
|
|
||||||
function showLocal() {
|
function showLocal() {
|
||||||
showModal('local');
|
showModal('local');
|
||||||
fetch("/api/grid_local")
|
fetch("https://live.grid.space/api/grid_local")
|
||||||
.then(r => r.json())
|
.then(r => r.json())
|
||||||
.then(j => {
|
.then(j => {
|
||||||
let devc = 0;
|
let devc = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue