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
41266fa0d4
commit
06d8b650c4
@ -3527,6 +3527,7 @@ loadChangelog();
|
|||||||
|
|
||||||
// ── CRAWLER INTELLIGENCE ────────────────────────────────────────────
|
// ── CRAWLER INTELLIGENCE ────────────────────────────────────────────
|
||||||
async function loadCrawlerStatus() {
|
async function loadCrawlerStatus() {
|
||||||
|
var token = localStorage.getItem('tip_token') || '';
|
||||||
var status = null;
|
var status = null;
|
||||||
var insights = null;
|
var insights = null;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user