Repository navigation
Allow the inline Supademo demo through the production CSP - #32
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
QualityMax ReviewVerdict: COMMENT · Confidence: evidence-backed scan Re-review: Open the QualityMax check and select Re-review after it completes. Files eligible: 2 · Files reviewed: 2 · Files with findings: 0 · Findings: 0 · Inline cards: 0 Priority findings
Review gates
Important files
Review lifecycleUse the inline cards to inspect evidence and suggested remediation. Re-run the QualityMax review after pushing a fix; unchanged cards are identified by their stable finding marker. Dismiss with a reason through the existing QualityMax/GitHub review feedback flow. 0 prior card(s) are stale/resolved on this head. Proof legend: VERIFIED independently judged patch · REPRODUCED verified finding · GROUNDED deterministic evidence · MODEL-ONLY model judgment. QualityMax project results are available in the configured project. Receipt · commit |
✅ QualityMax Pipeline
Powered by QualityMax — AI-Powered Test Automation |
The inline Supademo demo renders locally but is blocked on 9lives.run: Vercel's Content-Security-Policy has default-src 'self' and no frame-src, so the external iframe is rejected.
Allow frames from https://app.supademo.com explicitly. Preserve the rest of the existing policy, including frame-ancestors 'none'. Add a regression test connecting the actual iframe URL to the deployed frame policy and checking that other origins remain excluded.
Validation: all 19 tests, lint, Next production build and git diff --check passed. The production CSP header confirmed the failure; Supademo's embed responds with HTTP 200 and no blocking framing header. Ponytail review completed with no findings. Vercel preview deployment succeeded. Its protected page was inaccessible from the browser, so verified the built site through a local server applying the exact Vercel CSP: the header permits the demo origin, and Chrome renders the tour with its annotation and controls. Production verification remains pending merge and deployment.