fix: loadCrawlerStatus missing token — add var token = localStorage.getItem
token variable was undefined in loadCrawlerStatus() scope (only declared inside IIFE auth guard, not globally). All API calls silently failed with 401. Fix: read token from localStorage at start of function, consistent with getAuthHeaders() pattern used in all other load functions.
This commit is contained in:
parent
69ef507d8a
commit
25839e731d
@ -3527,6 +3527,7 @@ loadChangelog();
|
||||
|
||||
// ── CRAWLER INTELLIGENCE ────────────────────────────────────────────
|
||||
async function loadCrawlerStatus() {
|
||||
var token = localStorage.getItem('tip_token') || '';
|
||||
var status = null;
|
||||
var insights = null;
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user