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&url=https%3A%2F%2Fbudaev.org%2F.well-known%2Fnostr.json%3Fname%3D_
These are the response headers received when making the request.
accept-ranges: bytes
access-control-allow-origin: *
cf-cache-status: DYNAMIC
cf-ray: 8e74fe4585dc6095-ORD
connection: keep-alive
content-length: 329
content-type: application/json
date: Sat, 23 Nov 2024 23:38:31 GMT
last-modified: Tue, 10 Sep 2024 13:42:54 GMT
server: cloudflare
vary: User-Agent
x-turbo-charged-by: LiteSpeed
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.