Prompt for token on page load, cap max machines at 2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-13 17:34:12 -07:00
parent 0fc37d690d
commit fa7e300424
2 changed files with 4 additions and 1 deletions

View File

@@ -326,6 +326,9 @@ app.get("/", (_req, res) => {
return t.trim();
}
// Prompt immediately on page load
if (!localStorage.getItem(KEY)) getToken();
async function strip(file) {
const token = getToken();
if (!token) return;