Why Nostr? What is Njump?
2023-01-10 00:24:51

dehiv on Nostr: Hi, help needed! i'm trying to set my NIP-05 identifier using my own domain. I've ...

Hi, help needed!
i'm trying to set my NIP-05 identifier using my own domain. I've followed all the steps that are necessary, but it is not working because of a CORS error.

The file /.well-known/nostr.json exists and in the .htaccess file that i have created in the root server I've added the line to set up CORS permissions:

Header set Access-Control-Allow-Origin "*"  

... but, when i try to change my NIP-05 (tested in astral and in metadata.nostr.com).. i get the CORS error, and in the browser console i can see that in the response headers is not included Access-Control-Allow-Origin.

(If I load  https://domain/.well-known/nostr.json directly in the browser... the header exists)

Any advice?
Author Public Key
npub1u4ahs2n76qny65e0v73z8ynrd5fln8x9vva6tkah23eqeywhpetqtut8pu