fix: load ai-cache.json from same origin (relative path)
Some checks are pending
Deploy to Gitea Pages / deploy (push) Waiting to run

This commit is contained in:
kyrykbaev 2026-06-01 06:12:38 +00:00
parent ff4b3fd884
commit d8d2fc34dd

View File

@ -507,7 +507,7 @@ const GITEA_API = 'https://git.vibe42.kz/api/v1';
const GITEA_OWNER = 'kyrykbaev';
const GITEA_REPO = 'kpi-dashboard';
const AI_CACHE_FILE = 'ai-cache.json';
const AI_CACHE_RAW = `https://git.vibe42.kz/${GITEA_OWNER}/${GITEA_REPO}/raw/branch/main/${AI_CACHE_FILE}`;
const AI_CACHE_RAW = AI_CACHE_FILE;
const AppState = {
rawRows: [], snapshots: [], dailySeries: {},