update NIP-05 addressing reflectivity. (#128)

This commit is contained in:
majestrate 2022-12-29 09:01:35 -05:00 committed by GitHub
parent 570bc59e7d
commit d41834fa51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
05.md
View File

@ -71,3 +71,10 @@ Access-Control-Allow-Origin: *
Users should ensure that their `/.well-known/nostr.json` is served with the HTTP header `Access-Control-Allow-Origin: *` to ensure it can be validated by pure JS apps running in modern browsers.
[CORS]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
### Security Constraints
The `/.well-known/nostr.json` endpoint MUST NOT return any HTTP redirects.
Fetchers MUST ignore any HTTP redirects given by the `/.well-known/nostr.json` endpoint.