Commit 4abcd6b
docs(csp-cors): note that a rejected ui.domain stops the app rendering
The docs introduce _meta.ui.domain as a way to get a stable origin for CORS
allowlisting, and #309 clarified that its format is host-dependent. Neither
says what happens when the value isn't one the host accepts: the app doesn't
fall back to the default sandbox origin, it doesn't render at all.
Because the field is documented as an optional CORS convenience, it reads as
safe to set speculatively. Adding it while hashing an endpoint URL spelled
slightly differently from the one the client connected with turns a working
app into one that silently doesn't render.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 92f46a5 commit 4abcd6b
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
0 commit comments