docs(wallet-gateway-remote): explain how to fix a dApp blocked by CORS
Searching the docs for "cors" found nothing on what to do when a dApp can't connect to the Wallet Gateway (reported for the Splice validator's Docker Compose setup, where only http://portfolio.localhost is allowed).
- Troubleshooting: new "dApp blocked by CORS" section. Set
server.allowedOrigins, match origins exactly, check the deployment's own default, and don't add CORS headers in a reverse proxy: that bypasses the setting and duplicatesAccess-Control-Allow-Originonce the origin is allowed. - Configure: the
allowedOriginsentry says the gateway sends the CORS headers itself and links the new section. - User API reference: fix the documented default (
"*", not["*"]) and link the new section.
Docs only. Making the Docker Compose default consistent with Helm, and with the JSON API's nginx-based CORS, is for the Splice deployment.