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%2Fn.mleku.dev%2F.well-known%2Fnostr.json
These are the response headers received when making the request.
access-control-allow-methods: GET,HEAD,PUT,PATCH,POST,DELETE
access-control-allow-origin: *
cf-cache-status: DYNAMIC
cf-ray: 8e74ba17f6fb2d3d-ORD
connection: keep-alive
content-length: 303
content-type: application/json
date: Sat, 23 Nov 2024 22:51:58 GMT
server: cloudflare
strict-transport-security: max-age=0; includeSubDomains
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.