fix(dashboard): PUT the handoff bundle through the app's API base #9

Merged
pedro-bento merged 5 commits from fix/handoff-upload-url into main 2026-10-05 21:37:21 +01:00
Showing only changes of commit 3f57f4de51 - Show all commits

View file

@ -474,9 +474,11 @@ function App() {
let interval;
if ((status === 'processing' || status === 'completed') && jobId) {
interval = setInterval(async () => {
// Skip a backgrounded tab: with the dashboard open in several tabs the
// hidden ones kept polling /api/status and flooding the access log.
if (document.hidden) return;
try {
const data = await pollJob(jobId);
console.log("Job status:", data);
// Update results if available (real-time)
if (data.result) {