testando ui otimista

This commit is contained in:
JotaChina committed 2026-03-26 19:09:27 -03:00
1 parent ed87c55571
commit b5c0e70940
1 file changed
+1 -1
+1 -1
View File
@@ -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 }),