Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?method=get&origin=https%3A%2F%2Fcors-test.codehappy.dev%2F&url=https%3A%2F%2Fadhi.sh%2F.well-known%2Fnostr.json
These are the response headers received when making the request.
access-control-allow-origin: *
age: 0
cache-control: max-age=600
cf-cache-status: DYNAMIC
cf-ray: 9ba4f4f666bdab95-ORD
connection: keep-alive
content-type: application/json; charset=utf-8
date: Wed, 07 Jan 2026 16:50:55 GMT
etag: W/"6712b5c7-1b1"
expires: Wed, 07 Jan 2026 17:00:55 GMT
last-modified: Fri, 18 Oct 2024 19:23:51 GMT
server: cloudflare
transfer-encoding: chunked
vary: Accept-Encoding
via: 1.1 varnish
x-cache: MISS
x-cache-hits: 0
x-fastly-request-id: c0e9af3616e5bd9a6f7086b2a9d9c33928771b66
x-github-request-id: 5997:17344F:37DE78:3B6075:695E8EEE
x-proxy-cache: MISS
x-served-by: cache-chi-klot8100022-CHI
x-timer: S1767804655.143684,VS0,VE44
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.