← Commit history

Not-approved card points at the 1-hour toast re-arm path

John Lauer ·9e8c94db74 ·2mo ago ·parent 4b253bd
1 file changed +1−1
web-control-demo.html+1−1
@@ -261,7 +261,7 @@ for (const w of mine) {         logLine("  <- HTTP " + res.s + " " + JSON.stringify(res.j).slice(0, 300));
         if (res.s === 200) { var sum = summarize ? summarize(flat(res.j)) : ""; setRes(el, "ok", "Allowed &amp; ran", "on " + esc(who) + (sum ? " - " + sum : "")); }
         else if (res.j && res.j.errorCode === "web_control_disabled") setRes(el, "err", "Refused: web control OFF", "re-enable in Settings &rarr; Web Control");
-        else setRes(el, "err", "Not approved", (res.j && (res.j.error || res.j.errorCode)) || ("HTTP " + res.s));
+        else setRes(el, "err", "Not approved", ((res.j && (res.j.error || res.j.errorCode)) || ("HTTP " + res.s)) + " - missed the prompt? The toast waits in your notification center for 1 hour; Allow 1 hr there, then click again");
       })
       .catch(function (e) { fetchDied(e); setRes(el, "err", "blocked", SANDBOXED ? "sandboxed embed blocks loopback - open http://127.0.0.1:24681 directly (see banner)" : String(e)); });
   }