Skip to content

Integration - #25

Merged
RII6 merged 15 commits into
mainfrom
integration
Jul 14, 2026
Merged

Integration#25
RII6 merged 15 commits into
mainfrom
integration

Conversation

@RII6

@RII6 RII6 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

alberto-de-swerto and others added 15 commits July 8, 2026 00:23
Run scans asynchronously: a CPU scan takes minutes, so the synchronous
request timed out at the reverse proxy, which returned HTML and broke the
frontend's res.json() ("JSON.parse: unexpected character at line 1").
POST /api/scan now starts the scan in a background thread and returns a job
id immediately; the client polls GET /api/scan/status/{id} for the verdict.
HomePage submits and polls, and uses the cache (force:false) so repeat scans
of the same model return instantly.

Stop sending an empty Authorization header when logged out: WebKit rejects
empty header values ("The string did not match the expected pattern"),
which broke RUN ACTIVE SCANS for logged-out Safari users. Only send the
header when a token exists.

Also add an SPA fallback so client-side routes (login, history, compare)
survive a refresh or deep link.
… into integration

# Conflicts:
#	src/app/scan.py
#	src/app/server.py
#	src/frontend/src/components/ConfigSection.jsx
#	src/frontend/src/pages/HomePage.jsx
#	src/frontend/src/styles/config-section.css
…integration

# Conflicts:
#	src/app/server.py
#	src/frontend/src/pages/HomePage.jsx
@RII6
RII6 merged commit 4468db8 into main Jul 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants