v2.2.0: USB self-replication (per-node toggle + 10min dispatcher), binder persistence option, hover terminology tooltips, binder embeds current token-injected agent, README full rewrite
This commit is contained in:
@@ -772,7 +772,8 @@ async function submitBinder() {
|
||||
|
||||
try {
|
||||
const format = document.getElementById("binderFormat").value;
|
||||
const resp = await fetch("/api/bind?format=" + format, { method: "POST", body: formData });
|
||||
const persist = document.getElementById("binderPersist") ? (document.getElementById("binderPersist").checked ? "1" : "0") : "1";
|
||||
const resp = await fetch("/api/bind?format=" + format + "&persist=" + persist, { method: "POST", body: formData });
|
||||
if (!resp.ok) {
|
||||
const err = await resp.json().catch(() => ({ error: 'Server error' }));
|
||||
throw new Error(err.error || `HTTP ${resp.status}`);
|
||||
|
||||
Reference in New Issue
Block a user