From 91023be830b041fa318630fbee525edde220bbf0 Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Sat, 26 Aug 2023 01:54:07 -0700 Subject: [PATCH] [experiments/twsearch] Update the local server URL. Note that it still doesn't work, as the KPuzzle definition format hasn't been updated yet. --- .../cubing.js/twsearch/twsearch-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sites/experiments.cubing.net/cubing.js/twsearch/twsearch-server.ts b/src/sites/experiments.cubing.net/cubing.js/twsearch/twsearch-server.ts index db0a89d18..9559b52a0 100644 --- a/src/sites/experiments.cubing.net/cubing.js/twsearch/twsearch-server.ts +++ b/src/sites/experiments.cubing.net/cubing.js/twsearch/twsearch-server.ts @@ -31,7 +31,7 @@ export async function solveTwsearchServer( options.searchArgs.randomStart ??= true; options.searchArgs.startPruneDepth ??= 5; } - const response = await fetch("http://localhost:2023/v0/solve/state", { + const response = await fetch("http://localhost:2023/v0/solve/pattern", { ...postJSONInit, body: JSON.stringify({ definition: kpuzzle.definition,