Use localhost setting

This commit is contained in:
2026-02-09 16:48:36 +01:00
parent 666b7247b7
commit 970894c3fd
5 changed files with 35 additions and 14 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { LiveRunMove } from "./types";
import { addRunMoves } from "./client";
import path from "path";
export function startMonitoring(runId: string) {
export function startMonitoring(useLocalhost: boolean, runId: string) {
const dmp = new diff_match_patch();
let moveId = 0;
@@ -29,7 +29,7 @@ export function startMonitoring(runId: string) {
moves = [];
try {
await addRunMoves(runId, file, language, batch);
await addRunMoves(useLocalhost, runId, file, language, batch);
} finally {
isSending = false;
}