testando ui otimista
Deploy / Deploy (push) Successful in 36s
Details
Deploy / Deploy (push) Successful in 36s
Details
This commit is contained in:
parent
ba26dc1fe3
commit
02e0fbd583
|
|
@ -71,7 +71,7 @@ export function debouncedSyncPatternState() {
|
||||||
const patternState = appState.pattern;
|
const patternState = appState.pattern;
|
||||||
|
|
||||||
// Faz o upload silencioso do JSON
|
// Faz o upload silencioso do JSON
|
||||||
await fetch("/api/save_room_state", {
|
await fetch(`https://alice.ufsj.edu.br:${PORT_SOCK}/api/save_room_state`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
body: JSON.stringify({ roomName: currentRoom, patternState }),
|
body: JSON.stringify({ roomName: currentRoom, patternState }),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue