docs: link to CORS docs in inspector connect screen

This commit is contained in:
Nathan Flurry 2026-01-29 21:58:21 -08:00
parent fdad5fb30a
commit b304f90293
No known key found for this signature in database
GPG key ID: 6A5F43A4F3241BCA

View file

@ -97,9 +97,7 @@ const ConnectScreen = ({
</button>
<p className="hint">
Start the server with CORS enabled for browser access:
<br />
<code>sandbox-agent server --cors-allow-origin {window.location.origin}</code>
Having trouble connecting? See the <a href="https://sandboxagent.dev/docs/cors" target="_blank" rel="noreferrer">CORS documentation</a>.
</p>
</div>
</div>